ADVISORIES

Go Vulnerability Database

GO-2026-4971

Panic in Dial and LookupPort when handling NUL byte on Windows in net

Details

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

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.25.10 (fixed in 1.25.10)
From 1.26.0-0 before 1.26.3 (fixed in 1.26.3)

References