CVE-2026-42257: net-imap: Command Injection via "raw" arguments to multiple commands
ruby · net-imap
Affected: ruby net-imap · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 37% of scored CVEs
DescriptionCVE.org
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, several Net::IMAP commands accept a raw string argument that is sent to the server without validation or escaping. If this string is derived from user-controlled input, it may contain contain CRLF sequences, which an attacker can use to inject arbitrary IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- ruby · net-imap< 0.4.24; >= 0.5.0, < 0.5.14; >= 0.6.0, < 0.6.4
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2026-42257 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-93cwe.mitre.org
- github.com/ruby/net-imap/security/advisories/GHSA-hm49-wcqc-g2xggithub.com
- github.com/ruby/net-imap/releases/tag/v0.4.24github.com
- github.com/ruby/net-imap/releases/tag/v0.5.14github.com
- github.com/ruby/net-imap/releases/tag/v0.6.4github.com