UnratedFix available
Quadratic string concatenation in consumePhrase in net/mail
Type: advisorySources: OSV
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.
- Products
- stdlib
- Affected versions
- Not specified
- Fixed versions
- 1.25.10, 1.26.3
- CVEs
- CVE-2026-42499
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 03:50 UTC · Revision 1
Source evidence
Quadratic string concatenation in consumePhrase in net/mail
core-osv · Original sourcePublished 7 May 2026, 19:21 UTC
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.
osv:GO-2026-4977
stdlib
Fixed versions: 1.25.10, 1.26.3
Complete source record
{
"id": "e48e46021fcbc11f8ad877351ef26920af8f83c95f8bf3c91ae4d22d88c5980e",
"url": "https://osv.dev/vulnerability/GO-2026-4977",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Quadratic string concatenation in consumePhrase in net/mail",
"summary": "Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.",
"evidence": "osv:GO-2026-4977",
"products": [
{
"name": {
"value": "stdlib",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.25.10",
"evidence": "/affected/0/ranges"
},
{
"value": "1.26.3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "GO-2026-4977",
"aliases": [
"BIT-golang-2026-42499",
"CVE-2026-42499",
"GO-2026-4977"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.10"
},
{
"introduced": "1.26.0-0"
},
{
"fixed": "1.26.3"
}
]
}
],
"package": {
"name": "stdlib",
"purl": "pkg:golang/stdlib",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-4977.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "net/mail",
"symbols": [
"AddressParser.Parse",
"AddressParser.ParseList",
"Header.AddressList",
"ParseAddress",
"ParseAddressList",
"addrParser.consumePhrase"
]
}
]
}
}
],
"modified": "2026-10-07T10:41:46.157915498Z",
"provider": "osv",
"references": [
"https://go.dev/issue/78987",
"https://go.dev/cl/771520",
"https://groups.google.com/g/golang-announce/c/qcCIEXso47M"
],
"provider_metadata": {
"url": "https://pkg.go.dev/vuln/GO-2026-4977",
"review_status": "REVIEWED"
}
},
"related_cves": [
{
"value": "CVE-2026-42499",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 94943,
"published_at": "2026-05-07T19:21:40+00:00"
}