GO-2026-4977
Quadratic string concatenation in consumePhrase in net/mail
At a glance
- Published
- Updated
- CVE
- CVE-2026-42499
- Aliases
- BIT-golang-2026-42499
Description
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.25.10, introduced 1.26.0-0, fixed 1.26.3 |
References
- https://go.dev/issue/78987 REPORT
- https://go.dev/cl/771520 FIX
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |