CVE-2026-42258 — Vulnerability in net-imap — CVE Details
net-imap vulnerable to command Injection via unvalidated Symbol inputs
Summary
Advisory Timeline
- First published May 4, 2026 (161 days ago).
- Last revised September 10, 2026 — 128 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install net-imap -v 0.5.14
gem install net-imap -v 0.6.4
gem install net-imap -v 0.4.24
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: rubygems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-77
- CWE-93
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
References
- https://github.com/ruby/net-imap/security/advisories/GHSA-75xq-5h9v-w6pxWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42258ADVISORY
- https://github.com/ruby/net-imap/commit/aec06996eb87a7e1bbcef1f9f8926e8add2b8c71WEB
- https://github.com/ruby/net-imap/commit/9db3e9d60bfb8f3735ea95015bf8a700f4af9cbbWEB
- https://github.com/ruby/net-imap/commit/6bf02aef7e0b5931010c36e377f79a71636b306bWEB
- https://access.redhat.com/errata/RHSA-2026:33462WEB
- https://access.redhat.com/errata/RHSA-2026:37238WEB
- https://access.redhat.com/errata/RHSA-2026:37397WEB
- https://access.redhat.com/errata/RHSA-2026:38694WEB
- https://access.redhat.com/errata/RHSA-2026:40380WEB
- https://access.redhat.com/security/cve/CVE-2026-42258WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2468498WEB
- https://github.com/ruby/net-imapPACKAGE
- https://github.com/ruby/net-imap/releases/tag/v0.4.24WEB
- https://github.com/ruby/net-imap/releases/tag/v0.5.14WEB
- https://github.com/ruby/net-imap/releases/tag/v0.6.4WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/net-imap/CVE-2026-42258.ymlWEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42258.jsonWEB
- https://access.redhat.com/errata/RHSA-2026:33512WEB
- https://access.redhat.com/errata/RHSA-2026:33514WEB
- https://access.redhat.com/errata/RHSA-2026:33515WEB
- https://access.redhat.com/errata/RHSA-2026:33540WEB
- https://access.redhat.com/errata/RHSA-2026:33565WEB
- https://access.redhat.com/errata/RHSA-2026:33576WEB
- https://access.redhat.com/errata/RHSA-2026:33577WEB
- https://access.redhat.com/errata/RHSA-2026:33630WEB
- https://access.redhat.com/errata/RHSA-2026:33721WEB
- https://access.redhat.com/errata/RHSA-2026:34076WEB
- https://access.redhat.com/errata/RHSA-2026:35447WEB
- https://access.redhat.com/errata/RHSA-2026:35834WEB
- https://access.redhat.com/errata/RHSA-2026:35866WEB
- https://access.redhat.com/errata/RHSA-2026:35867WEB
- https://access.redhat.com/errata/RHSA-2026:35895WEB
- https://access.redhat.com/errata/RHSA-2026:36099WEB
- https://access.redhat.com/errata/RHSA-2026:36978WEB
Frequently Asked Questions
- What is CVE-2026-42258?
- net-imap vulnerable to command Injection via unvalidated Symbol inputs This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
- How do I check if my project is affected by CVE-2026-42258?
- CVE-2026-42258 affects net-imap. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42258 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-42246HIGH
net-imap vulnerable to STARTTLS stripping via invalid response timing
- CVE-2026-47242MEDIUM
Net::IMAP: Command Injection via ID command argument
- CVE-2025-25186MEDIUM
Possible DoS by memory exhaustion in net-imap
- CVE-2026-42256MEDIUM
net-imap vulnerable to denial of service via high iteration count for `SCRAM-*` authentication
- CVE-2026-47240MEDIUM
Net::IMAP: Command Injection via non-synchronizing literal in "raw" argument
- CVE-2026-42257MEDIUM
net-imap vulnerable to command Injection via "raw" arguments to multiple commands
- CVE-2025-43857MEDIUM
net-imap rubygem vulnerable to possible DoS by memory exhaustion
- CVE-2026-42245LOW
net-imap has quadratic complexity when reading response literals
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies