CVE-2026-42258Published May 9, 2026 · May 9Updated Oct 28
net-imap: Command Injection via unvalidated Symbol inputs
ruby net-imap
Medium5.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| net-imap RubyGems |
|
|
Original description
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.
From the CVE record · GitHub_M
References
- github.com/ruby/net-imap/security/advisories/GHSA-75xq-5h9v-w6pxVendor advisory
- github.com/ruby/net-imap/releases/tag/v0.4.24Release notes
- github.com/ruby/net-imap/releases/tag/v0.5.14Release notes
- github.com/ruby/net-imap/releases/tag/v0.6.4Release notes
- access.redhat.com/security/cve/CVE-2026-42258
- bugzilla.redhat.com/show_bug.cgi?id=2468498
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42258.json
- access.redhat.com/errata/RHSA-2026:37397
- access.redhat.com/errata/RHSA-2026:35895
- access.redhat.com/errata/RHSA-2026:33565
- access.redhat.com/errata/RHSA-2026:33540
- access.redhat.com/errata/RHSA-2026:33514