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…

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

0
Medium
VulnerabilityCVE-2026-39824cvecve-2026-39824cwe-190
Published: Fri May 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

CVE-2026-39824 is an integer overflow vulnerability in the NewNTUnicodeString function of the golang. org/x/sys/windows package. The function does not properly check for string length overflow when creating an NTUnicodeString, which uses a 16-bit length field. If a string exceeding the maximum size is provided, the function returns a truncated string instead of an error. This behavior could lead to unexpected handling of string data.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/22/2026, 20:14:58 UTC

Technical Analysis

The vulnerability exists in the NewNTUnicodeString function within the golang.org/x/sys/windows package. It fails to validate that the input string length fits within the 16-bit size limit of an NTUnicodeString. When an oversized string is passed, the function truncates the string silently rather than signaling an error condition. This is classified as a CWE-190 integer overflow or wraparound issue.

Potential Impact

The impact is that applications using this function may receive truncated strings without error notification, potentially causing logic errors or incorrect processing of string data. There is no indication of direct memory corruption or code execution from the available data. No known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, developers should implement additional validation on string lengths before passing them to NewNTUnicodeString 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: 5/22/2026, 7:59:48 PM

Last enriched: 5/22/2026, 8:14:58 PM

Last updated: 5/22/2026, 9:09:45 PM

Views: 3

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