{"api_version":"1","generated_at":"2026-06-03T19:46:32+00:00","cve":"CVE-2026-42504","urls":{"html":"https://cve.report/CVE-2026-42504","api":"https://cve.report/api/cve/CVE-2026-42504.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42504","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42504"},"summary":{"title":"Quadratic complexity in WordDecoder.DecodeHeader in mime","description":"Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.","state":"PUBLISHED","assigner":"Go","published_at":"2026-06-02 23:16:37","updated_at":"2026-06-03 16:16:30"},"problem_types":["CWE-407","CWE-407: Inefficient Algorithmic Complexity","CWE-407 CWE-407 Inefficient Algorithmic Complexity"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://go.dev/cl/774481","name":"https://go.dev/cl/774481","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://go.dev/issue/79217","name":"https://go.dev/issue/79217","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw","name":"https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://pkg.go.dev/vuln/GO-2026-5038","name":"https://pkg.go.dev/vuln/GO-2026-5038","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42504","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42504","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Go standard library","product":"mime","version":"affected 1.25.11 semver","platforms":[]},{"source":"CNA","vendor":"Go standard library","product":"mime","version":"affected 1.26.0-0 1.26.4 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"p4p3r (https://hackerone.com/p4p3r_hak)","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},{"other":{"content":{"id":"CVE-2026-42504","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-06-03T14:05:39.682615Z","version":"2.0.3"},"type":"ssvc"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-407","description":"CWE-407 Inefficient Algorithmic Complexity","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-06-03T14:06:13.623Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://pkg.go.dev","defaultStatus":"unaffected","packageName":"mime","product":"mime","programRoutines":[{"name":"WordDecoder.DecodeHeader"}],"vendor":"Go standard library","versions":[{"lessThan":"1.25.11","status":"affected","version":"0","versionType":"semver"},{"lessThan":"1.26.4","status":"affected","version":"1.26.0-0","versionType":"semver"}]}],"credits":[{"lang":"en","value":"p4p3r (https://hackerone.com/p4p3r_hak)"}],"descriptions":[{"lang":"en","value":"Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU."}],"problemTypes":[{"descriptions":[{"description":"CWE-407: Inefficient Algorithmic Complexity","lang":"en"}]}],"providerMetadata":{"dateUpdated":"2026-06-02T22:01:37.219Z","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","shortName":"Go"},"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"}],"title":"Quadratic complexity in WordDecoder.DecodeHeader in mime"}},"cveMetadata":{"assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","assignerShortName":"Go","cveId":"CVE-2026-42504","datePublished":"2026-06-02T22:01:37.219Z","dateReserved":"2026-04-28T00:21:12.792Z","dateUpdated":"2026-06-03T14:06:13.623Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-02 23:16:37","lastModifiedDate":"2026-06-03 16:16:30","problem_types":["CWE-407","CWE-407: Inefficient Algorithmic Complexity","CWE-407 CWE-407 Inefficient Algorithmic Complexity"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"42504","Ordinal":"1","Title":"Quadratic complexity in WordDecoder.DecodeHeader in mime","CVE":"CVE-2026-42504","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"42504","Ordinal":"1","NoteData":"Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.","Type":"Description","Title":"Quadratic complexity in WordDecoder.DecodeHeader in mime"}]}}}