LOW3.3
GO-2026-5024
Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows
Quick fix
GO-2026-5024 — golang.org/x/sys: upgrade to the fixed version with the command below.
go get golang.org/x/sys@v0.44.0Details
NewNTUnicodeString does not check for string length overflow. When provided with a string that overflows the maximum size of a NTUnicodeString (a 16-bit number of bytes), it returns a truncated string rather than an error.
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/golang.org/x/sys"]}'