{"schema_version":"1.3.1","id":"GO-2026-5024","modified":"2026-05-22T18:28:47Z","published":"2026-05-22T18:28:47Z","aliases":["CVE-2026-39824"],"summary":"Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows","details":"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":[{"package":{"name":"golang.org/x/sys","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.44.0"}]}],"ecosystem_specific":{"imports":[{"path":"golang.org/x/sys/windows","goos":["windows"],"symbols":["NewNTUnicodeString"]}]}}],"references":[{"type":"REPORT","url":"https://go.dev/issue/78916"},{"type":"FIX","url":"https://go.dev/cl/770080"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/6MMI8Lj-Atg"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-5024","review_status":"REVIEWED"}}