CVE-2026-47242
Net::IMAP: Command Injection via ID command argument
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, when Net::IMAP#id is called with a hash argument, although the ID field value strings are correctly quoted (escaping quoted specials), they were not validated to prohibit CRLF sequences. While Net::IMAP#enable does process its arguments for aliases, it does not validate them as valid atoms (or as a list of valid atoms). The #to_s value is sent verbatim. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. This vulnerability is fixed in 0.6.5 and 0.5.15.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.184% · 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 · 5.8 · published by GitHub_MCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:41.179Z
CVSS 4.0 · 5.8 · published by Ubuntu SecurityCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
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:41.179Z | CVE Program |
| epss | verified | 2026-11-19T16:04:51.377Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T12:58:41.179Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:41.179Z | CVE Program |
Affected versions and configuration
ruby net-imap; default status: unknown: >= 0.6.0, < 0.6.4.1 [affected; scheme: unspecified]; < 0.5.15 [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": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]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": "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": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "ruby",
"product": "net-imap",
"versions": [
{
"status": "affected",
"version": ">= 0.6.0, < 0.6.4.1"
},
{
"status": "affected",
"version": "< 0.5.15"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-47242",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-06-23T12:06:42.230852Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-06-23T12:06:49.157Z"
}
}
]
}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-06-22T21:16:00.000Z
Source modification: 2026-06-29T21:45:06.543ZDocument fingerprint
7b592a8e6a860bfcc2ec2876e0cddc5d4ebbc4429d437f85d26b08ae6ec6d0e8 - Ubuntu SecurityConsulted: 2026-11-19T16:51:15.778ZArchived source JSON
Source publication: 2026-06-22T21:16:00.000Z
Source modification: 2026-06-29T21:45:06.543ZDocument fingerprint
609ca4cb09564e36b04e460a7c525c3173ee7bd2c9df3e8f4dd78500ef7ce476 - CVE ProgramConsulted: 2026-11-19T12:58:41.179ZArchived source JSON
Source publication: 2026-06-22T20:19:41.222Z
Source modification: 2026-06-23T12:06:49.157ZDocument fingerprint
6d477f63289edc64ab8a636db15514ae0438873baa1ace8b866dc46530c8060b - 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:51.377ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
314533c6cad7257b55626d2ae0cd98a6c49376abfa725a18eb65ebef4059364a
Official status history
- UNKNOWN → PUBLISHED · · evidence