Vulnerability · CVE-2026-47240
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby.
Published Jun 22, 2026 · catalog updated Oct 27, 2026 · Net::IMAP implements Internet Message
Last checked Oct 30, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2026-47240. EPSS is 0.83%. Act only if a listed version of Net::IMAP implements Internet Message is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Net::IMAP implements Internet Message).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Unknown—
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.83%
- Remediation
- Advisory link
- Affected products
- Alpine:v3.21 ruby-net-imap · Alpine:v3.22 ruby-net-imap · Alpine:v3.23 ruby-net-imap · Alpine:v3.24 ruby-net-imap
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Alpine:v3.21 ruby-net-imap0 → 0.4.25-r0
- Alpine:v3.22 ruby-net-imap0 → 0.5.15-r0
- Alpine:v3.23 ruby-net-imap0 → 0.5.15-r0
- Alpine:v3.24 ruby-net-imap0 → 0.5.15-r0
How to fix CVE-2026-47240
Upgrade
CVE-2026-47240 lists a fix boundary at 0.4.25-r0. Compare the installed build with that boundary before you change production.
Version check
Fixed in 0.4.25-r0 · 3 other ranges on the advisory
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-47240. EPSS is 0.83%. Act only if a listed version of Net::IMAP implements Internet Message is installed.
Which versions are affected?
Compare what you have installed with 0 → 0.4.25-r0, 0 → 0.5.15-r0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 0.83%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jun 22, 2026 · Trivy Vulnerability DB
Detected
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 literal
Oct 27, 2026 · Trivy Vulnerability DB
Fix available
ruby-net-imap fixed in 0.4.25-r0; ruby-net-imap fixed in 0.5.15-r0; ruby-net-imap fixed in 0.5.15-r0; ruby-net-imap fixed in 0.5.15-r0
Oct 27, 2026 · Trivy Vulnerability DB
Fix available
ruby-net-imap fixed in 0.4.25-r0
Oct 27, 2026 · Trivy Vulnerability DB
Fix available
ruby-net-imap fixed in 0.5.15-r0
Oct 27, 2026 · Trivy Vulnerability DB
Updated
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 literal
Sources
- CVE.orgVulnerability recordCVE-2026-47240
Official CVE identifier
cve.org - OpenSSF OSV / OSV ScannerPackage advisoryALPINE-CVE-2026-47240osv.dev
- Trivy Vulnerability DBPackage advisoryALPINE-CVE-2026-47240
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
osv.dev
References
Freshness
Last verified in this catalog Oct 30, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- Trivy Vulnerability DBOct 29, 2026
- OpenSSF OSV / OSV ScannerOct 28, 2026
- CVE.orgOct 27, 2026