GO-2026-4971

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

At a glance

Published
Updated
CVE
CVE-2026-39836
Aliases
BIT-golang-2026-39836

Description

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

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.25.10, introduced 1.26.0-0, fixed 1.26.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database