What’s Vulnerable › Vulnerabilities

CVE-2026-42504: Quadratic complexity in WordDecoder.DecodeHeader in mime

Description

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

Affected products

How to fix

Upgrade to a fixed version: Go Stdlib 1.25.11, 1.26.4; Go standard library mime 1.25.11, 1.26.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-42504 or the next vulnerability affects your stack