CVE-2026-42246 — Vulnerability in net-imap — CVE Details
net-imap vulnerable to STARTTLS stripping via invalid response timing
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.4.24
gem install net-imap -v 0.5.14
gem install net-imap -v 0.6.4
gem install net-imap -v 0.3.10
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: rubygems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-392
- CWE-393
- CWE-636
- CWE-754
- CWE-841
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.7 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/ruby/net-imap/security/advisories/GHSA-vcgp-9326-pqcpWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42246ADVISORY
- https://github.com/ruby/net-imap/commit/0ede4c40b1523dfeaf95777b2678e54cc0fd9618WEB
- https://github.com/ruby/net-imap/commit/24a4e770b43230286a05aa2a9746cdbb3eb8485eWEB
- https://github.com/ruby/net-imap/commit/97e2488fb5401a1783bddd959dde007d9fbce42cWEB
- https://github.com/ruby/net-imap/commit/f79d35bf5833f186e81044c57c843eda30c873daWEB
- https://github.com/ruby/net-imapPACKAGE
- https://github.com/ruby/net-imap/releases/tag/v0.3.10WEB
- 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-42246.ymlWEB
- https://nostarttls.secvuln.infoWEB
- https://www.rfc-editor.org/info/rfc8314WEB
Frequently Asked Questions
- What is CVE-2026-42246?
- net-imap vulnerable to STARTTLS stripping via invalid response timing This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.7/10).
- How do I check if my project is affected by CVE-2026-42246?
- CVE-2026-42246 affects net-imap. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42246 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-47242MEDIUM
Net::IMAP: Command Injection via ID command argument
- 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