CVE-2026-39824

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

Published May 22, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-20
CWE-680
Type Values Removed Values Added
Weaknesses CWE-190
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Golang
Golang sys
Vendors & Products Golang
Golang sys
Type Values Removed Values Added
Weaknesses CWE-20
CWE-680
Type Values Removed Values Added
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.
Title Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
May 27, 2026, 1:31 PM
Reserved
Apr 7, 2026, 6:13 PM
Status
Awaiting Analysis
Published
May 22, 2026, 8:16 PM
Modified
Jul 23, 2026, 4:10 PM