{"id":"CVE-2026-42504","state":"PUBLISHED","title":"Quadratic complexity in WordDecoder.DecodeHeader in mime","description":"Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.","publishedAt":"2026-06-02T22:01:37.219Z","updatedAt":"2026-10-29T22:22:35.205Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Go","products":["Go standard library mime"],"affected":[{"vendor":"Go standard library","product":"mime","packageName":"mime","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.25.11","versionType":"semver"},{"version":"1.26.0-0","status":"affected","lessThan":"1.26.4","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"WordDecoder.DecodeHeader"}]}],"references":["https://go.dev/issue/79217","https://go.dev/cl/774481","https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw","https://pkg.go.dev/vuln/GO-2026-5038"],"weaknesses":["CWE-407"],"ingestedAt":"2026-10-29T23:16:04.497Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42504.json","commit":"dc7676b3f67d6707e4927968546e7e0125ff7ec7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42504","state":"PUBLISHED","datePublished":"2026-06-02T22:01:37.219Z","dateUpdated":"2026-10-29T22:22:35.205Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2026-04-28T00:21:12.792Z"},"containers":{"cna":{"title":"Quadratic complexity in WordDecoder.DecodeHeader in mime","descriptions":[{"lang":"en","value":"Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU."}],"affected":[{"vendor":"Go standard library","product":"mime","packageName":"mime","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.25.11","versionType":"semver"},{"version":"1.26.0-0","status":"affected","lessThan":"1.26.4","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"WordDecoder.DecodeHeader"}]}],"references":[{"url":"https://go.dev/issue/79217"},{"url":"https://go.dev/cl/774481"},{"url":"https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw"},{"url":"https://pkg.go.dev/vuln/GO-2026-5038"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-407: Inefficient Algorithmic Complexity"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2026-10-29T22:22:35.205Z"},"credits":[{"lang":"en","value":"p4p3r (https://hackerone.com/p4p3r_hak)"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-06-03T14:05:39.682615Z","id":"CVE-2026-42504","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-407","type":"CWE","lang":"en","description":"CWE-407 Inefficient Algorithmic Complexity"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-03T14:06:13.623Z"}}]}}}