Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

CVE-2026-39824: CWE-190: Integer Overflow or Wraparound in golang.org/x/sys golang.org/x/sys/windows

0
Low
VulnerabilityCVE-2026-39824cvecve-2026-39824cwe-190
Published: 05/22/2026 (05/22/2026, 19:39:47 UTC)
Source: CVE Database V5
Vendor/Project: golang.org/x/sys
Product: golang.org/x/sys/windows

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.

CVSS v3.1

Score 3.3low

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected software

golang.org/x/sys/windows
pkg:golang/golang.org/x/sys/windows
Affected versions
=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/29/2026, 20:21:14 UTC

Technical Analysis

The vulnerability in golang.org/x/sys/windows (CVE-2026-39824) involves the NewNTUnicodeString function failing to validate the length of input strings against the maximum size allowed by the NTUnicodeString structure, which uses a 16-bit length field. When an input string length exceeds this maximum, the function truncates the string silently rather than returning an error, leading to an integer overflow or wraparound condition. This can result in unexpected behavior or data integrity issues in applications relying on this function for Unicode string handling on Windows systems.

Potential Impact

The impact is limited to potential integrity issues caused by truncated strings where the length overflow occurs. There is no direct impact on confidentiality or availability. The CVSS score of 3.3 (low) reflects that the vulnerability requires local access with low privileges and does not allow user interaction or elevate privileges. No known exploits are reported in the wild.

Mitigation Recommendations

No official patch or remediation level has been published yet. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, developers should avoid passing strings that could exceed the 16-bit length limit to NewNTUnicodeString or implement additional length checks in their code to prevent overflow conditions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-04-07T18:13:03.527Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a10b5b4e1370fbb4848af4e

Added to database: 05/22/2026, 19:59:48 UTC

Last enriched: 05/29/2026, 20:21:14 UTC

Last updated: 07/12/2026, 07:47:31 UTC

Views: 114

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses