CVE Explorer
CVE-2026-42245
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 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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"net-imap","vendor":"ruby","versions":[{"status":"affected","version":"< 0.4.24"},{"status":"affected","version":">= 0.5.0, < 0.5.14"},{"status":"affected","version":">= 0.6.0, < 0.6.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:becd3b4626f3d4384a4ff73cde32e41ef30f3e3bbcd643a593834a0d73cf043b · sha256:fef16c8aa086691e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.3,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:becd3b4626f3d4384a4ff73cde32e41ef30f3e3bbcd643a593834a0d73cf043b · sha256:fef16c8aa086691e… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-407","description":"CWE-407: Inefficient Algorithmic Complexity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:becd3b4626f3d4384a4ff73cde32e41ef30f3e3bbcd643a593834a0d73cf043b · sha256:fef16c8aa086691e… · /containers/cna/problemTypes/0/descriptions/0
Source references
7 source assertions{"name":"https://github.com/ruby/net-imap/commit/6091f7d6b1f3514cafbfe39c76f2b5d73de3ca96","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/net-imap/commit/6091f7d6b1f3514cafbfe39c76f2b5d73de3ca96"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:becd3b4626f3d4384a4ff73cde32e41ef30f3e3bbcd643a593834a0d73cf043b · sha256:fef16c8aa086691e… · /containers/cna/references/1
{"name":"https://github.com/ruby/net-imap/commit/88d95231fc8afef11c1f074453f7d75b68c9dfda","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/net-imap/commit/88d95231fc8afef11c1f074453f7d75b68c9dfda"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:becd3b4626f3d4384a4ff73cde32e41ef30f3e3bbcd643a593834a0d73cf043b · sha256:fef16c8aa086691e… · /containers/cna/references/2
{"name":"https://github.com/ruby/net-imap/commit/de685f91a4a4cc75eb80da898c2bf8af08d34819","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/net-imap/commit/de685f91a4a4cc75eb80da898c2bf8af08d34819"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:becd3b4626f3d4384a4ff73cde32e41ef30f3e3bbcd643a593834a0d73cf043b · sha256:fef16c8aa086691e… · /containers/cna/references/3
{"name":"https://github.com/ruby/net-imap/releases/tag/v0.4.24","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/net-imap/releases/tag/v0.4.24"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:becd3b4626f3d4384a4ff73cde32e41ef30f3e3bbcd643a593834a0d73cf043b · sha256:fef16c8aa086691e… · /containers/cna/references/4
{"name":"https://github.com/ruby/net-imap/releases/tag/v0.5.14","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/net-imap/releases/tag/v0.5.14"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:becd3b4626f3d4384a4ff73cde32e41ef30f3e3bbcd643a593834a0d73cf043b · sha256:fef16c8aa086691e… · /containers/cna/references/5
{"name":"https://github.com/ruby/net-imap/releases/tag/v0.6.4","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/net-imap/releases/tag/v0.6.4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:becd3b4626f3d4384a4ff73cde32e41ef30f3e3bbcd643a593834a0d73cf043b · sha256:fef16c8aa086691e… · /containers/cna/references/6
{"name":"https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcw","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:becd3b4626f3d4384a4ff73cde32e41ef30f3e3bbcd643a593834a0d73cf043b · sha256:fef16c8aa086691e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.