CVE-2026-47242 — Vulnerability in net-imap — CVE Details
Net::IMAP: Command Injection via ID command argument
Summary
Advisory Timeline
- First published June 9, 2026 (125 days ago).
- Last revised September 10, 2026 — 92 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install net-imap -v 0.5.15
gem install net-imap -v 0.6.4.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
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.9 score means for each attack dimension.
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/ruby/net-imap/security/advisories/GHSA-46q3-7gv7-qmggWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-47242ADVISORY
- https://github.com/ruby/net-imapPACKAGE
- https://github.com/ruby/net-imap/releases/tag/v0.6.4.1WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/net-imap/CVE-2026-47242.ymlWEB
- https://www.cve.org/CVERecord?id=CVE-2026-47242WEB
Frequently Asked Questions
- What is CVE-2026-47242?
- Net::IMAP: Command Injection via ID command argument This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.9/10).
- How do I check if my project is affected by CVE-2026-47242?
- CVE-2026-47242 affects net-imap. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-47242 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-42258MEDIUM
net-imap vulnerable to command Injection via unvalidated Symbol inputs
- 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