GO-2026-5038
Quadratic complexity in WordDecoder.DecodeHeader in mime
At a glance
- Published
- Updated
- CVE
- CVE-2026-42504
- Aliases
- BIT-golang-2026-42504
Description
Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.25.11, introduced 1.26.0-0, fixed 1.26.4 |
References
- https://go.dev/issue/79217 REPORT
- https://go.dev/cl/774481 FIX
- https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |