CVE-2026-42258Ruby-lang Net::imap
Medium 5.8
Follow: this CVE · Ruby-lang · Ruby-lang Net::imap We alert you by email or Slack (account required).
- Priority
- 35
- CVSS 4.0
- 5.8
- EPSS
- —
- Auth required
- Yes
- Published
- May 9, 2026
- Updated
- Aug 24, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Net::imap.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | net-imap |
≥ 0.6.0 < 0.6.4 |
0.6.4 |
gem "net-imap", ">= 0.6.4" |
| RubyGems | net-imap |
≥ 0.5.0 < 0.5.14 |
0.5.14 |
gem "net-imap", ">= 0.5.14" |
| RubyGems | net-imap |
< 0.4.24 |
0.4.24 |
gem "net-imap", ">= 0.4.24" |
Per OSV / GitHub Advisories (GHSA-75xq-5h9v-w6px). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | net::imap | < 0.4.24 |
| ruby-lang | net::imap | ≥ 0.5.0 < 0.5.14 |
| ruby-lang | net::imap | ≥ 0.6.0 < 0.6.4 |
Official advisories
- Security update for ruby3.4 · SUSE · openSUSE-SU-2026:21878-1 · Nov 23, 2026 High
- Security update for ruby3.4 · SUSE · SUSE-SU-2026:24933-1 · Sep 18, 2026 High
- Security update for ruby3.4 · SUSE · SUSE-SU-2026:3090-1 · Jul 17, 2026 Medium
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:40380 · Jul 16, 2026 Medium
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:38694 · Jul 13, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:36978 · Jul 13, 2026 Medium
Also: Red Hat (+18)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Mitigation Vendor Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com