CVE-2025-25186
Net::IMAP vulnerable to possible DoS by memory exhaustion
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Starting in version 0.3.2 and prior to versions 0.3.8, 0.4.19, and 0.5.6, there is a possibility for denial of service by memory exhaustion in `net-imap`'s response parser. At any time while the client is connected, a malicious server can send can send highly compressed `uid-set` data which is automatically read by the client's receiver thread. The response parser uses `Range#to_a` to convert the `uid-set` data into arrays of integers, with no limitation on the expanded size of the ranges. Versions 0.3.8, 0.4.19, 0.5.6, and higher fix this issue. Additional details for proper configuration of fixed versions and backward compatibility are available in the GitHub Security Advisory.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.622% · 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 3.1 · 6.5 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:57:28.500Z
CVSS 3.1 · 6.5 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T16:51:26.185Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:28.500Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.588Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:51:47.512Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:57:28.500Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:28.500Z | CVE Program |
Affected versions and configuration
ruby net-imap; default status: unknown: >= 0.3.2, < 0.3.8 [affected; scheme: unspecified]; >= 0.4.0, < 0.4.19 [affected; scheme: unspecified]; >= 0.5.0, < 0.5.6 [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.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": "DNE",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.3.4-2ubuntu5.2",
"release_codename": "oracular"
}
]
}
]Archived source JSONUbuntu 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": "DNE",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.2.3-1ubuntu0.24.04.5",
"release_codename": "noble"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "ruby",
"product": "net-imap",
"versions": [
{
"status": "affected",
"version": ">= 0.3.2, < 0.3.8"
},
{
"status": "affected",
"version": ">= 0.4.0, < 0.4.19"
},
{
"status": "affected",
"version": ">= 0.5.0, < 0.5.6"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-25186",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-02-10T16:13:53.189390Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-02-12T15:46:11.581Z"
}
}
]
}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.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / oracular | ruby3.3 | security | 3.3.4-2ubuntu5.2 | Official record |
| distribution-package | Ubuntu / noble | ruby3.2 | security | 3.2.3-1ubuntu0.24.04.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T16:51:26.185ZArchived source JSON
Source publication: 2025-02-10T16:15:00.000Z
Source modification: 2025-08-26T10:57:48.490ZDocument fingerprint
5f619f0c06bca50b8b990bdc48cd4e0b42936494df41050472182cc1ed01d639 - Ubuntu SecurityConsulted: 2026-11-19T16:51:47.512ZArchived source JSON
Source publication: 2025-02-10T16:15:00.000Z
Source modification: 2025-08-26T10:57:48.490ZDocument fingerprint
eac795ef1b8dfa5d307514247242f7c3e3ccac76ebc0d38c7abede72dd6a6a3b - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:28.500ZArchived source JSON
Source publication: 2025-02-10T15:55:56.666Z
Source modification: 2025-02-12T15:46:11.581ZDocument fingerprint
5c37de34c3cb755b1a63d6aca8d984f0f38a200299cd62b2ea7d0278147679a2 - FIRST EPSSConsulted: 2026-11-19T16:04:40.588ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f828727fd2419e9ee62887077d52e76b99e46a1d7a1ce89e08e7e861a70ba109
Official status history
- UNKNOWN → PUBLISHED · · evidence