Advisory record · GO-2026-5038

Quadratic complexity in WordDecoder.DecodeHeader in mime

CVSS 7.5 HighEPSS 0.0056 · 47th percentile

Published by OSV at 2 Jun 2026, 21:39 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
stdlibGo<1.25.11 || >=1.26.0-0, <1.26.41.25.11, 1.26.4
Identifiers
GO-2026-5038 · BIT-golang-2026-42504 · CVE-2026-42504
Weakness (CWE)
CWE-407
Published
2 Jun 2026
Updated
14 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Go standard library versions before 1.25.11 and from 1.26.0 before 1.26.4 are vulnerable in the mime package's WordDecoder.DecodeHeader function. An attacker who can supply a MIME header containing many invalid encoded-words can cause excessive CPU consumption when it is decoded. Upgrade Go to 1.25.11 or 1.26.4, or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H ADP (CISA-ADP)
  • CISA KEV Not listed.
  • EPSS 0.0056, the 47th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 2 Jun 2026, 22:01 UTC Confirmed by the CVE List
  2. 31 Oct 2026, 14:11 UTC First seen by agentprime
  3. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.