ADVISORIES

Go Vulnerability Database

GO-2026-5038

Quadratic complexity in WordDecoder.DecodeHeader in mime

Details

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

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.25.11 (fixed in 1.25.11)
From 1.26.0-0 before 1.26.4 (fixed in 1.26.4)

References