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.
History

Wed, 27 May 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-680

Wed, 27 May 2026 14:30:00 +0000

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'}


Mon, 25 May 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Golang
Golang sys
Vendors & Products Golang
Golang sys

Fri, 22 May 2026 22:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-680

Fri, 22 May 2026 20:00:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published: 2026-05-22T19:39:47.629Z

Updated: 2026-05-27T13:31:26.148Z

Reserved: 2026-04-07T18:13:03.527Z

Link: CVE-2026-39824

cve-icon Vulnrichment

Updated: 2026-05-27T13:29:34.717Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-22T20:16:33.057

Modified: 2026-05-27T14:16:46.387

Link: CVE-2026-39824

cve-icon Redhat

No data.