What’s Vulnerable › Vulnerabilities
CVE-2026-42499: Quadratic string concatenation in consumePhrase in net/mail
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-07 · updated 2026-10-26
- Weakness: CWE-1046
Description
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.
Affected products
- Go: before 1.25.10; from 1.26.0 before 1.26.3 — fixed in 1.25.10, 1.26.3
- Go Stdlib: before 1.25.10; from 1.26.0-0 before 1.26.3 — fixed in 1.25.10, 1.26.3
How to fix
Upgrade to a fixed version: Go 1.25.10, 1.26.3; Go Stdlib 1.25.10, 1.26.3. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/771520
- https://go.dev/issue/78987
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M
- https://pkg.go.dev/vuln/GO-2026-4977
- https://access.redhat.com/errata/RHSA-2026:17713
- https://access.redhat.com/errata/RHSA-2026:17714
- https://access.redhat.com/errata/RHSA-2026:22112
- https://access.redhat.com/errata/RHSA-2026:22120
- https://access.redhat.com/errata/RHSA-2026:22121
- https://access.redhat.com/errata/RHSA-2026:33120
- https://access.redhat.com/errata/RHSA-2026:33123
- https://access.redhat.com/errata/RHSA-2026:33142
Get alerted when CVE-2026-42499 or the next vulnerability affects your stack