CVE-2026-42504

Quadratic complexity in WordDecoder.DecodeHeader in mime

State
Published
Severity
7.5 High
Published
Jun 2, 2026
Updated
Nov 2, 2026
Reserved
Apr 28, 2026

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-407 Inefficient Algorithmic Complexity

Affected Products

ProductVersions
mimeGo standard library
  • before 1.25.11Affected
  • 1.26.0-0 to before 1.26.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.