GO-2026-5038

Source
https://pkg.go.dev/vuln/GO-2026-5038
Import Source
https://vuln.go.dev/ID/GO-2026-5038.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2026-5038
Aliases
  • CVE-2026-42504
Published
2026-06-02T21:39:47Z
Modified
2026-06-02T22:00:13.624116291Z
Summary
Quadratic complexity in WordDecoder.DecodeHeader in mime
Details

Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-5038"
}
References
Credits
    • p4p3r (https://hackerone.com/p4p3r_hak)

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.25.11
Introduced
1.26.0-0
Fixed
1.26.4

Ecosystem specific

{
    "imports": [
        {
            "path": "mime",
            "symbols": [
                "WordDecoder.DecodeHeader"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5038.json"