{"id":"CVE-2026-42504","published":"2026-06-02T22:01:37Z","modified":"2026-11-23T23:19:30Z","title":"Quadratic complexity in WordDecoder.DecodeHeader in mime","vendor":"Go standard library","product":"mime","tier":"tail","description":{"text":"Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0054,"percentile":0.46049,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://go.dev/issue/79217","tags":[]},{"url":"https://go.dev/cl/774481","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-5038","tags":[]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.21},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"mime","versions":["< 1.25.11",">= 1.26.0-0, < 1.26.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-03T14:05:39.682615Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.25.11",">=1.26.0-0, <1.26.4"],"patched":["1.25.11","1.26.4"],"from":["GO-2026-5038"],"provenance":"source"}],"summary":{"text":"The flaw is a quadratic-complexity issue in the WordDecoder.DecodeHeader function of the mime component in the Go standard library. An attacker who can get a maliciously crafted MIME header containing many invalid encoded-words processed (over the network, with no authentication or user interaction required) can drive excessive CPU consumption during decoding.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:58Z"},"euvd":{"id":"EUVD-2026-34039","exploited":false,"provenance":"source"}}