Advisory

GO-2026-5024

Also known as: 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.

Severity

Not rated by the source.

Dates

Published
2026-05-22 18:28 UTC
Modified
2026-06-09 18:59 UTC

Affected packages and fixes

golang.org/x/sys

Go · All systems

Affected

  • introduced 0, fixed 0.44.0 (semver)

Fixed versions

0.44.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences