{"id":"CVE-2026-39824","published":"2026-05-22T19:39:47Z","modified":"2026-05-27T13:31:26Z","title":"Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows","vendor":"golang.org/x/sys","product":"golang.org/x/sys/windows","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00158,"percentile":0.0259,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://go.dev/issue/78916","tags":[]},{"url":"https://go.dev/cl/770080","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/6MMI8Lj-Atg","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-5024","tags":[]}],"priority":{"score":2.8,"factors":[{"name":"EPSS percentile","points":0.52},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"golang-org-x-sys","affectedVersions":[{"vendor":"golang.org/x/sys","product":"golang.org/x/sys/windows","versions":["< 0.44.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-27T13:31:22.142852Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"golang.org/x/sys","vulnerableRanges":["<0.44.0"],"patched":["0.44.0"],"from":["GO-2026-5024"],"provenance":"source"}],"summary":{"text":"The flaw is in the NewNTUnicodeString function of the golang.org/x/sys/windows component within the golang.org/x/sys module, which fails to check whether an input string exceeds the maximum size of an NTUnicodeString (a 16-bit byte count) and returns a truncated string instead of an error. An attacker needs local access and low privileges, with no user interaction, and the impact is limited to integrity loss when a program passes an oversized string to this function.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:34Z"},"euvd":{"id":"EUVD-2026-31498","exploited":false,"provenance":"source"}}