{"id":"CVE-2026-39820","revision":"e91e45dbec814f4b8ec0f79e061aba5a","records":[{"revision":"e91e45dbec814f4b8ec0f79e061aba5a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-39820","aliases":[],"title":"Quadratic string concatentation in consumeComment in net/mail","description":"Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.","state":0,"publishedAt":"2026-05-07T19:41:19.854+00:00","modifiedAt":"2026-09-18T12:04:51.044+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"net/mail","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Go standard library\",\n                    \"product\": \"net/mail\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"packageName\": \"net/mail\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"1.25.10\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"1.26.0-0\",\n                            \"lessThan\": \"1.26.3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"addrParser.consumeComment\"\n                        },\n                        {\n                            \"name\": \"AddressParser.Parse\"\n                        },\n                        {\n                            \"name\": \"AddressParser.ParseList\"\n                        },\n                        {\n                            \"name\": \"Header.AddressList\"\n                        },\n                        {\n                            \"name\": \"Header.Date\"\n                        },\n                        {\n                            \"name\": \"ParseAddress\"\n                        },\n                        {\n                            \"name\": \"ParseAddressList\"\n                        },\n                        {\n                            \"name\": \"ParseDate\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://go.dev/issue/78566","https://go.dev/cl/759940","https://groups.google.com/g/golang-announce/c/qcCIEXso47M","https://pkg.go.dev/vuln/GO-2026-4986"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-39820","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-39820","identifiers":["CVE-2026-39820"]},"retained":false,"historicalAffected":[]}],"coverage":[]}