Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP commands accept a "raw data" argument that is sent verbatim after validation to prevent command injection. However, if a server does not support non-synchronizing literals, it may still be possible to inject arbitrary IMAP commands inside non-synchronizing literals. A server without support for non-synchronizing literals may interpret the "+}\r\n" as the end of a malformed command line and respond with a tagged BAD. In that case, the contents of the literal will be interpreted as one or more new pipelined commands, allowing a CRLF command injection attack to succeed. This affects criteria for #search and #uid_search; search_keys for #sort, #thread, #uid_sort, and #uid_thread; and attr for #fetch and #uid_fetch. This vulnerability is fixed in 0.6.5 and 0.5.15.
CVE-2026-47240
This medium-severity CVE scores 5.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 59% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.8
- EG Score
- 5.8MEDIUMmedium confidence
- EG Risk
- 26EG Risk 26/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity58% × 45%Exploitation0% × 40%Automatability0% × 15% - EPSS PROB
- 0.8%
- EPSS %ILE
- 56th
- KEV
- Not listed
Published
June 9, 2026
Last Modified
June 23, 2026
Advisory Details (1)
Auto-updated Jun 23, 2026Command Injection via non-synchronizing literal in "raw" argument · Advisory · ruby/net-imap · GitHub
https://github.com/ruby/net-imap/security/advisories/GHSA-8p34-64r3-mwg8Vendor Advisories for CVE-2026-47240(9)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:50827Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:4.0 security, bug fix, and enhancement update
- RHSA-2026:50828Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update
- RHSA-2026:50778Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby security, bug fix, and enhancement update
- RHSA-2026:50773Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby4.0 security, bug fix, and enhancement update
- RHSA-2026:50728Red Hat Product SecurityHigh
Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update
- RHSA-2026:40380Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
- RHSA-2026:33551Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
- CVE-2026-47240Microsoft Security Response Center (MSRC)Medium
Net::IMAP: Command Injection via non-synchronizing literal in "raw" argument
- +1 more
Patch Availability(8)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| redhat | ruby:4.0-9080020260727092509.9 | 2026-08-05 | redhat |
| redhat | ruby:3.3-9080020260728061751.9 | 2026-08-05 | redhat |
| redhat | ruby4.0-0:4.0.6-36.el10_2 | 2026-08-05 | redhat |
| redhat | ruby-0:3.3.12-14.el10_2 | 2026-08-05 | redhat |
| redhat | ruby:3.3-8100020260727154509.489197e6 | 2026-08-05 | redhat |
| redhat | ruby3-3-main-3.3.10-23.4.hum1 | 2026-07-15 | redhat |
| redhat | ruby3-3-main-3.3.10-23.2.hum1 | 2026-06-30 | redhat |
| redhat | ruby4-0-main-4.0.0-33.4.hum1 | 2026-06-30 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby2.7 | 2.7.4-1 ... 2.7.5-1 (8 versions) |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby3.1 | 3.1.2-7 ... 3.1.2-8.5 (8 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby3.3 | 3.3.8-2, 3.3.8-2.1, 3.3.8-2.2 |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby3.3 | 3.3.8-2, 3.3.8-2.1, 3.3.8-2.2 |
| — |
RubyGems(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| net-imap | 0.1.0 ... 0.5.9 (62 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 7× in last 7d / 25× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 160 total refreshes for this CVE.
- 2026-10-09 20:07 UTCEPSS rescore
- 2026-10-08 17:12 UTCEPSS rescore
- 2026-10-07 23:48 UTCEPSS rescore
- 2026-10-06 15:18 UTCEPSS rescore
- 2026-10-05 17:43 UTCEPSS rescore
- 2026-10-03 14:25 UTCEPSS rescore
- 2026-10-03 09:39 UTCOSV refresh
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-28 13:51 UTCEPSS rescore
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-26 00:27 UTCEPSS rescore
- 2026-09-23 17:53 UTCEPSS rescore
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-14 04:24 UTCEG score recompute
- 2026-09-14 04:24 UTCVendor advisory
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-08-31 00:30 UTCEG score recompute
- 2026-08-31 00:30 UTCVendor advisory
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 00:48 UTCEG score recompute
- 2026-08-25 00:48 UTCVendor advisory
- 2026-08-23 11:04 UTCEG score recompute
- 2026-08-23 11:04 UTCVendor advisory
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 15:23 UTCEG score recompute
- 2026-08-21 15:23 UTCVendor advisory
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 17:25 UTCEG score recompute
- 2026-08-20 17:25 UTCVendor advisory
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 15:42 UTCEG score recompute
- 2026-08-19 15:42 UTCVendor advisory
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 00:17 UTCEG score recompute
- 2026-08-17 00:17 UTCVendor advisory
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-16 00:26 UTCVendor advisory
- 2026-08-15 01:36 UTCEG score recompute
- 2026-08-15 01:36 UTCVendor advisory
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 03:40 UTCEG score recompute
- 2026-08-14 03:40 UTCVendor advisory
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 05:43 UTCEG score recompute
- 2026-08-13 05:43 UTCVendor advisory
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 07:37 UTCEG score recompute
- 2026-08-12 07:37 UTCVendor advisory
- 2026-08-11 07:50 UTCEG score recompute
- 2026-08-11 07:50 UTCVendor advisory
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 09:53 UTCEG score recompute
- 2026-08-10 09:53 UTCVendor advisory
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 11:57 UTCVendor advisory
- 2026-08-08 14:00 UTCEG score recompute
- 2026-08-08 14:00 UTCVendor advisory
- 2026-08-07 16:03 UTCVendor advisory
- 2026-08-06 18:04 UTCEG score recompute
- 2026-08-06 18:04 UTCVendor advisory
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 20:07 UTCEG score recompute
- 2026-08-05 20:07 UTCVendor advisory
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 16:00 UTCEG score recompute
- 2026-08-04 16:00 UTCVendor advisory
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-03 14:56 UTCEG score recompute
- 2026-08-03 14:56 UTCVendor advisory
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 07:56 UTCEG score recompute
- 2026-08-02 07:56 UTCVendor advisory
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 09:59 UTCEG score recompute
- 2026-08-01 09:59 UTCVendor advisory
- 2026-08-01 04:16 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownRubyGems:net-imap · Debian:13:ruby3.3
Same vendor
7 shownredhat:RHSA-2026:33551 · redhat:RHSA-2026:40380
Frequently asked(5)
What is CVE-2026-47240?
When was CVE-2026-47240 disclosed?
Is CVE-2026-47240 actively exploited?
What is the CVSS score of CVE-2026-47240?
How do I remediate CVE-2026-47240?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-47240
Is Your Infrastructure Affected by CVE-2026-47240?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.