CVE-2026-42504

Quadratic complexity in WordDecoder.DecodeHeader in mime

Published: 6/2/2026Modified: 6/2/2026
Also known as:GO-2026-5038

Description

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

Affected packages (1)

  • Go/stdlibfrom 0, < 1.25.11, >= 1.26.0-0, < 1.26.4

References (3)