CVE-2026-42245
net-imap: Quadratic complexity when reading response literals
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.410% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 2.3 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:32.181Z
CVSS 4.0 · 2.3 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T16:51:15.778Z
CVSS 3.1 · 7.5 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T16:51:15.778Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:32.181Z | CVE Program |
| epss | verified | 2026-11-19T16:04:50.042Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T12:58:32.181Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:32.181Z | CVE Program |
Affected versions and configuration
ruby net-imap; default status: unknown: < 0.4.24 [affected; scheme: unspecified]; >= 0.5.0, < 0.5.14 [affected; scheme: unspecified]; >= 0.6.0, < 0.6.4 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "ruby3.2",
"debian": "https://tracker.debian.org/pkg/ruby3.2",
"source": "https://ubuntu.com/security/cve?package=ruby3.2",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=ruby3.2",
"statuses": [
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "no ResponseReader class; net-imap 0.3.4.1 predates ResponseReader",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "no ResponseReader class; net-imap 0.3.4.1 predates ResponseReader",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "ruby3.3",
"debian": "https://tracker.debian.org/pkg/ruby3.3",
"source": "https://ubuntu.com/security/cve?package=ruby3.3",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=ruby3.3",
"statuses": [
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of standard support",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "no ResponseReader class in net-imap 0.4.19",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "no ResponseReader class in net-imap 0.4.19",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "ruby",
"product": "net-imap",
"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"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-42245",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-05-12T17:53:55.917796Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-05-12T18:30:58.415Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T16:51:16.210ZArchived source JSON
Source publication: 2026-05-09T20:16:00.000Z
Source modification: 2026-06-02T08:43:28.242ZDocument fingerprint
7b592a8e6a860bfcc2ec2876e0cddc5d4ebbc4429d437f85d26b08ae6ec6d0e8 - Ubuntu SecurityConsulted: 2026-11-19T16:51:15.778ZArchived source JSON
Source publication: 2026-05-09T20:16:00.000Z
Source modification: 2026-06-02T08:43:28.242ZDocument fingerprint
609ca4cb09564e36b04e460a7c525c3173ee7bd2c9df3e8f4dd78500ef7ce476 - CVE ProgramConsulted: 2026-11-19T12:58:32.181ZArchived source JSON
Source publication: 2026-05-09T19:37:08.905Z
Source modification: 2026-05-12T18:30:58.415ZDocument fingerprint
32b06f9ff9bc3923744c94d13924835b73e6cf00d49c988f8dd4fee58fbba004 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:50.042ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
7e3baeaa25e4f4d3f88d7df0a5c946bd568f06b8497afa562ddc93c71aed8205
Official status history
- UNKNOWN → PUBLISHED · · evidence