CVE-2026-39824: Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows

Published May 22, 2026
·
Updated

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

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
go/golang.org/x/sys/windows
Microsoft azl3 azurelinux-image-tools 1.2.0-2
Microsoft azl3 azurelinux-image-tools 1.2.0-2<1.4.0-1
1.4.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.4.0-1

Event History

May 22, 2026
CVE Published
via MITRE·07:39 PM
Data Sourced
via MITRE·07:39 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
May 27, 2026
Data Sourced
via Microsoft·08:08 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:08 AM
DescriptionSeverityWeakness
Updated
via Microsoft·08:08 AM
DescriptionSeverity
Sep 1, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-39824?

The severity of CVE-2026-39824 is rated at 23, indicating a significant risk due to the integer overflow vulnerability.

2

How do I fix CVE-2026-39824?

To fix CVE-2026-39824, update the golang.org/x/sys/windows package to the latest version where the integer overflow issue is addressed.

3

What systems are affected by CVE-2026-39824?

CVE-2026-39824 affects applications that use the golang.org/x/sys/windows package, particularly those invoking NewNTUnicodeString without proper input validation.

4

What is the impact of CVE-2026-39824?

The impact of CVE-2026-39824 can lead to string truncation which may result in unexpected behavior or security issues in affected applications.

5

Is CVE-2026-39824 being actively exploited?

As of now, there are no reported active exploits for CVE-2026-39824, but its presence poses a risk that should be mitigated promptly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203