GHSA-hm49-wcqc-g2xg · Severity: medium · Ecosystem: rubygems — net-imap vulnerable to command Injection via "raw" arguments to multiple commands
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.
Conclusion & alert: CVE-2026-42257 is rated Low Risk (35/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.41%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.02% | 0.41% | +0.39% |
| 2 | 2026-05-10 | — | 0.02% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.8 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-hm49-wcqc-g2xg · Severity: medium · Ecosystem: rubygems — net-imap vulnerable to command Injection via "raw" arguments to multiple commands
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-42257 not yet assigned priority: Debian including 3 source packages (ruby2.7, ruby3.1, ruby3.3), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. | https://security-tracker.debian.org/tracker/CVE-2026-42257 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-42257 |
ubuntu
|
medium | CVE-2026-42257 medium priority: Ubuntu including 7 source packages (jruby, ruby2.3, …), 42 status rows across 9 suites (bionic, focal, jammy, noble, questing, resolute, trusty, upstream, xenial): DNE 21, needs-triage 21. | https://ubuntu.com/security/CVE-2026-42257 |
| URL | Tags |
|---|---|
| https://github.com/ruby/net-imap/releases/tag/v0.4.24 | Release Notes |
| https://github.com/ruby/net-imap/releases/tag/v0.5.14 | Release Notes |
| https://github.com/ruby/net-imap/releases/tag/v0.6.4 | Release Notes |
| https://github.com/ruby/net-imap/security/advisories/GHSA-hm49-wcqc-g2xg | Mitigation Vendor Advisory |