Ubuntu CVE Tracker
UBUNTU-CVE-2026-42258
Details
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, symbol arguments to commands are vulnerable to a CRLF Injection / IMAP Command injection via Symbol arguments passed to IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | ruby2.3 | All versions before 2.3.1-2~ubuntu16.04.16+esm15 (fixed in 2.3.1-2~ubuntu16.04.16+esm15) |
| Ubuntu:16.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | ruby2.5 | All versions, no fix listed |
| Ubuntu:18.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | ruby2.7 | All versions, no fix listed |
| Ubuntu:20.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:22.04:LTS | ruby3.0 | All versions, no fix listed |
| Ubuntu:24.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:24.04:LTS | ruby3.2 | All versions, no fix listed |
| Ubuntu:25.10 | jruby | All versions, no fix listed |
| Ubuntu:25.10 | ruby3.3 | All versions, no fix listed |
| Ubuntu:26.10 | jruby | All versions, no fix listed |
| Ubuntu:26.10 | ruby3.3 | All versions, no fix listed |
| Ubuntu:26.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:26.04:LTS | ruby3.3 | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2026-42258
- https://www.cve.org/CVERecord?id=CVE-2026-42258
- https://github.com/ruby/net-imap/releases/tag/v0.4.24
- https://github.com/ruby/net-imap/releases/tag/v0.5.14
- https://github.com/ruby/net-imap/releases/tag/v0.6.4
- https://github.com/ruby/net-imap/security/advisories/GHSA-75xq-5h9v-w6px
- https://ubuntu.com/security/notices/USN-8556-1