Security Resilience

CVE-2026-42245

DoS in Ruby-Lang Net\ \

Published
09 May 2026
Modified
24 July 2026
Patch / advisory
CVSS Score v4 2.3
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0070 49th percentile
Risk Priority 15 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-42245 is a low-severity Inefficient Algorithmic Complexity (CWE-407) vulnerability in Ruby-Lang Net\. Its CVSS base score is 2.3 (Low).

Operationally, ranked at the 49th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-5 (Denial-of-service Protection) and SC-6 (Resource Availability) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hostile server can send responses which are crafted…

more

to exhaust the client's CPU for a denial of service attack. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-43857Same product: Ruby-Lang Net\
CVE-2026-42246Same product: Ruby-Lang Net\
CVE-2026-42257Same product: Ruby-Lang Net\
CVE-2026-42258Same product: Ruby-Lang Net\
CVE-2026-42256Same product: Ruby-Lang Net\
CVE-2025-27220Same vendor: Ruby-Lang
CVE-2025-27219Same vendor: Ruby-Lang
CVE-2025-58767Same vendor: Ruby-Lang
CVE-2024-41123Same vendor: Ruby-Lang
CVE-2025-61594Same vendor: Ruby-Lang

Affected Assets

ruby-lang
net\
\

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Denial-of-service protection directly reduces the impact of resource exhaustion triggered by worst-case algorithmic inputs.

Resource availability allocation limits blast radius when an inefficient algorithm is forced into its worst case.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can uncover performance issues stemming from algorithmic complexity.

finds

Monitoring activities can identify anomalous resource consumption indicative of algorithmic complexity attacks.

prevents

Secure coding practices can include guidelines to avoid or mitigate inefficient algorithms.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-407, a class-level weakness, and none of its children carries one either.

References