HIGH7.5
GO-2026-4971
Panic in Dial and LookupPort when handling NUL byte on Windows in net
Quick fix
GO-2026-4971 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.25.10Details
The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0).
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/stdlib"]}'