What’s Vulnerable › Vulnerabilities

CVE-2026-39824: Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Golang.Org/X/Sys 0.44.0; golang.org/x/sys/windows 0.44.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-39824 or the next vulnerability affects your stack