7.5High

CVE-2026-39836Panic in Dial and LookupPort when handling NUL byte on Windows in net

Go standard library net Published: (6 months ago)

Description

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

Weakness (CWE): CWE-248CWE-476

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library net < 1.25.10, 1.26.0-0 – < 1.26.3
golang go < 1.25.10

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.25.10
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.26.0 < 1.26.3