GO-2026-5024

Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows

At a glance

Published
Updated
CVE
CVE-2026-39824

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 packages

PackageVersions
Go · golang.org/x/sysintroduced 0, fixed 0.44.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database