CVE-2026-42245
Description
net-imap has quadratic complexity when reading response literals
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-42245
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2026-42245.html
Vendor advisory: security-advisories@github.com — https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcw
Vendor advisory: security-advisories@github.com — https://github.com/ruby/net-imap/releases/tag/v0.6.4
Vendor advisory: security-advisories@github.com — https://github.com/ruby/net-imap/releases/tag/v0.5.14
Vendor advisory: security-advisories@github.com — https://github.com/ruby/net-imap/releases/tag/v0.4.24
Vendor advisory: security-advisories@github.com — https://github.com/ruby/net-imap/commit/de685f91a4a4cc75eb80da898c2bf8af08d34819
Vendor advisory: security-advisories@github.com — https://github.com/ruby/net-imap/commit/88d95231fc8afef11c1f074453f7d75b68c9dfda
Vendor advisory: security-advisories@github.com — https://github.com/ruby/net-imap/commit/6091f7d6b1f3514cafbfe39c76f2b5d73de3ca96
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | affected | |
| debian | bullseye | affected | |
| debian | forky | affected | |
| debian | sid | affected | |
| debian | trixie | affected | |
Package impact
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ruby-lang | net\ | {"endExcluding":"0.4.24"} | 0.4.24 |
References
- https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcw
- https://github.com/ruby/net-imap/commit/6091f7d6b1f3514cafbfe39c76f2b5d73de3ca96
- https://github.com/ruby/net-imap/commit/88d95231fc8afef11c1f074453f7d75b68c9dfda
- https://github.com/ruby/net-imap/commit/de685f91a4a4cc75eb80da898c2bf8af08d34819
- https://github.com/ruby/net-imap/releases/tag/v0.4.24
- https://github.com/ruby/net-imap/releases/tag/v0.5.14
- https://github.com/ruby/net-imap/releases/tag/v0.6.4
- https://www.suse.com/security/cve/CVE-2026-42245.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-42245
- https://github.com/ruby/net-imap
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/net-imap/CVE-2026-42245.yml
- https://security-tracker.debian.org/tracker/CVE-2026-42245
- https://github.com/advisories/GHSA-q2mw-fvj9-vvcw
CWEs
CWE-407
Verify integrity in audit chain (admin only). AS-IS.