net-imap Known Vulnerabilities & Fixes
net-imap has 9 known security vulnerabilities in RubyGems (Ruby). Upgrade to version 0.6.4.1 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 0.6.4.1
Upgrading to 0.6.4.1 or later resolves all 9 known vulnerabilities in net-imap. Run: gem install net-imap -v 0.6.4.1
Is net-imap in your project?
Check if you're affected and upgrade to 0.6.4.1 to stay secure.
Security Summary
- 27 affected version ranges have been identified across these 9 advisories.
- 100% of known issues have a published fixed version.
- Remediation: gem update net-imap
Vulnerabilities
9 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Feb 10, 2025, most recently Jun 9, 2026 (484 days apart).
| CVE / GHSA | Severity | Affected | Fixed In |
|---|---|---|---|
| CVE-2026-42246 net-imap vulnerable to STARTTLS stripping via invalid response timing | HIGH | 0.6.0, 0.6.1, 0.6.2, 0.6.3 (+58 more) | 0.6.4, 0.5.14, 0.4.24 (+1 more) |
| CVE-2026-42256 net-imap vulnerable to denial of service via high iteration count for `SCRAM-*` authentication | MEDIUM | 0.6.0, 0.6.1, 0.6.2, 0.6.3 (+39 more) | 0.6.4, 0.5.14, 0.4.24 |
| CVE-2025-25186 Possible DoS by memory exhaustion in net-imap | MEDIUM | 0.3.2, 0.3.3, 0.3.4, 0.3.4.1 (+29 more) | 0.3.8, 0.4.19, 0.5.6 |
| CVE-2026-42257 net-imap vulnerable to command Injection via "raw" arguments to multiple commands | MEDIUM | 0.6.0, 0.6.1, 0.6.2, 0.6.3 (+59 more) | 0.6.4, 0.5.14, 0.4.24 |
| CVE-2025-43857 net-imap rubygem vulnerable to possible DoS by memory exhaustion | MEDIUM | 0.5.0, 0.5.1, 0.5.2, 0.5.3 (+41 more) | 0.5.7, 0.4.20, 0.3.9 (+1 more) |
| CVE-2026-47242 Net::IMAP: Command Injection via ID command argument | MEDIUM | 0.6.0, 0.6.1, 0.6.2, 0.6.3 (+63 more) | 0.6.4.1, 0.5.15 |
| CVE-2026-47240 Net::IMAP: Command Injection via non-synchronizing literal in "raw" argument | MEDIUM | 0.6.0, 0.6.1, 0.6.2, 0.6.3 (+63 more) | 0.6.4.1, 0.5.15 |
| CVE-2026-42258 net-imap vulnerable to command Injection via unvalidated Symbol inputs | MEDIUM | 0.6.0, 0.6.1, 0.6.2, 0.6.3 (+59 more) | 0.6.4, 0.5.14, 0.4.24 |
| CVE-2026-42245 net-imap has quadratic complexity when reading response literals | LOW | 0.6.0, 0.6.1, 0.6.2, 0.6.3 (+59 more) | 0.6.4, 0.5.14, 0.4.24 |
About This Data
Vulnerability data for net-imap is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related RubyGems (Ruby) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of net-imap.