Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-privilege access on Windows host
-
DeliveryIdentify target Go application using NewNTUnicodeString
-
ExploitCraft input string exceeding 65,535 bytes
-
ExecutionSubmit oversized string via application input path
-
PersistNewNTUnicodeString silently truncates string without error
-
ImpactApplication processes malformed string, bypassing length-dependent logic
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a local account with at least low privileges (PR:L, AV:L per CVSS vector) on a Windows system running a Go application compiled with golang.org/x/sys/windows prior to v0.44.0. The specific condition is that the application must call NewNTUnicodeString with an attacker-influenced input string whose UTF-16 encoded byte length exceeds 65,535 bytes (the 16-bit maximum for a UNICODE_STRING Length field). Exploitation is limited to Windows targets only - the affected code path is specific to the windows sub-package. Remote exploitation is not indicated by the CVSS vector (AV:L). The impact is confined to integrity (I:L) with no confidentiality or availability impact, limiting the blast radius even when conditions are met. |
| Impact | The CVSS 3.1 score of 3.3 (Low) is consistent with the constrained impact profile: AV:L requires local access, PR:L requires at least low-privilege execution on the target host, and the only scored impact is I:L (integrity). There is no confidentiality or availability impact, no scope change, and attack complexity is low once local access is achieved. EPSS at 0.02% (5th percentile) corroborates the assessment that mass exploitation is highly unlikely - the attack surface is limited to Windows applications that (1) use the golang.org/x/sys/windows package, (2) call NewNTUnicodeString, and (3) pass attacker-influenced strings exceeding 65,535 bytes without prior validation. The vulnerability is not listed in CISA KEV, and no POC has been identified. The primary real-world risk is integrity-affecting logic errors or security control bypasses in specific Windows Go applications, not direct system compromise. Overall, this is a genuine but low-priority finding whose severity depends heavily on how the consuming application handles the silently truncated result. |
| Exploit ScenarioDerived | A local attacker with a low-privilege account on a Windows host running a Go application that uses NewNTUnicodeString constructs an input string exceeding 65,535 bytes - for example via a filename, registry value, or IPC message - and passes it to the target application. The function silently wraps the length field and returns a truncated NTUnicodeString without signaling an error. If the application relies on the returned structure to enforce path restrictions, authentication tokens, or access control strings, the truncated value may bypass those checks. No public POC has been identified, so this scenario requires attacker knowledge of the specific code path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
Integer overflow in NewNTUnicodeString within the Go extended syscall package for Windows allows a local low-privileged attacker to silently inject a truncated NTUnicodeString into applications that expect validation failures on oversized input. Affected is golang.org/x/sys/windows before version 0.44.0. Because the function returns a truncated result rather than an error, consuming code may proceed with a malformed string, potentially bypassing length-based security checks or causing downstream logic errors - no public exploit has been identified at time of analysis and EPSS exploitation probability is 0.02%.
RemediationAI
Vendor-released patch: golang.org/x/sys/windows v0.44.0. Upgrade by running 'go get golang.org/x/sys@v0.44.0' and rebuilding affected binaries; verify the fix is incorporated by checking go.sum and the module graph. The upstream code change is available at https://go.dev/cl/770080, and the announcement was distributed via the golang-announce mailing list at https://groups.google.com/g/golang-announce/c/6MMI8Lj-Atg. If an immediate upgrade is not possible, a compensating control is to add explicit length validation on any string passed to NewNTUnicodeString - reject or truncate inputs exceeding 32,767 UTF-16 code units (65,534 bytes) before the call. This workaround introduces application-layer complexity and must be applied at every call site, which is error-prone; upgrading to v0.44.0 is strongly preferred.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
golang.org/x/sys is the Go team's extended package for low-level OS syscall access; the windows sub-package provides wrappers for Windows-native data structures. NTUnicodeString is a Windows kernel structure (UNICODE_STRING) whose Length and MaximumLength fields are 16-bit unsigned integers, capping the representable byte count at 65,535. The function NewNTUnicodeString is responsible for constructing this structure from a Go string; CWE-190 (Integer Overflow or Wraparound) describes exactly this class of defect: when the input string's byte length exceeds 65,535, the 16-bit length field wraps around silently, yielding a structurally valid but content-truncated NTUnicodeString. The affected CPE is cpe:2.3:a:golang.org/x/sys:golang.org/x/sys/windows:*:*:*:*:*:*:*:* for all versions prior to 0.44.0.
Know when Golang Org X Sys Windows gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Primary rating from Vendor (Go) · only source for this CVE.
CVSS VectorVendor: Go
Lifecycle Timeline
3DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
EUVD-2026-31498
GHSA-4vpj-hr3r-4gpg
NVD
CVE.org
EPSS
VulDB
Exploit-DB