{"schema_version":"1.7.5","id":"GO-2026-5024","published":"2026-05-22T18:28:47Z","modified":"2026-06-09T18:59:22.740765220Z","aliases":["CVE-2026-39824"],"related":["CGA-76vg-6p9r-2fx2"],"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","purl":"pkg:golang/golang.org/x/sys"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.44.0"}]}],"ecosystem_specific":{"imports":[{"goos":["windows"],"path":"golang.org/x/sys/windows","symbols":["NewNTUnicodeString"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-5024.json"}}],"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":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-5024"}}