CVE-2026-47241: Net::IMAP: Denial of Service via incomplete raw argument validation
Vulnerability summary
CVE-2026-47241 is a low (CVSS 2.1) vulnerability in ruby net-imap. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16% of scored vulnerabilities.
Not severe (CVSS 2.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 13 · Related 4Timeline
- 22-06-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
Description
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 string argument which is only validated to prevent CRLF injection and then sent verbatim. If this string is derived from user-controlled input, an attacker can force the next command to be absorbed as a continuation of the first command. This will cause the first command to eventually fail, but also prevents it from returning until another command is sent (from another thread). That other command will not return until the connection is closed. This vulnerability is fixed in 0.6.5 and 0.5.15.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · RubygemsEcosystem advisory · calculated2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · AlpineEcosystem advisory · calculated2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
Decrease -0.14 pp
From 0.38% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-162Improper Neutralization of Trailing Special ElementsThe product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes trailing special elements that could be interpreted in unexpected ways when they are sent to a downstream component.
- CWE-182Collapse of Data into Unsafe ValueThe product filters data in a way that causes it to be reduced or "collapsed" into an unsafe value that violates an expected security property.
- CWE-186Overly Restrictive Regular ExpressionA regular expression is overly restrictive in a way that does not match all intended values.
Affected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard53 products
- gitlab-rails-ce-18.1All versions (No fix recorded)
- gitlab-rails-ce-18.10All versions (No fix recorded)
- gitlab-rails-ce-18.11< 18.11.5-r0
- gitlab-rails-ce-18.4All versions (No fix recorded)
- gitlab-rails-ce-18.5All versions (No fix recorded)
Wolfi13 products
- jruby-10.1< 10.1.1.0-r1
- jruby-9.4< 9.4.15.0-r3
- kube-fluentd-operator< 1.18.2-r70
- logstash-9.3< 9.3.6-r0
- logstash-9.3-iamguarded-compat< 9.3.6-r0
Ubuntu7 products
- jrubyAll versions (No fix recorded)
- ruby2.3All versions (No fix recorded)
- ruby2.5All versions (No fix recorded)
- ruby2.7All versions (No fix recorded)
- ruby3.0All versions (No fix recorded)
Debian2 products
- ruby3.1All versions (No fix recorded)
- ruby3.3All versions (No fix recorded) | < 3.3.13-0+deb13u1 | < 3.3.14-0.1
Alpine1 product
- ruby-net-imap< 0.4.25-r0 | < 0.5.15-r0
Ruby1 product
- net-imap≥ 0.6.0, < 0.6.4.1 | < 0.5.15
RubyGems1 product
- net-imap≥ 0.6.0, < 0.6.4.1 | < 0.5.15
7 vendors · 78 products
References
10 links- github.com/ruby/net-imap/security/advisories/GHSA-c4fp-cxrr-mj66X Refsource CONFIRMREPORTAdvisoryWEB
- github.com/ruby/net-imapPACKAGE