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

26 affected componentsFixes available
go/golang.org/x/sys/windows
Microsoft azl3 azurelinux-image-tools 1.2.0-2
All of the following
azurelinux/azurelinux-image-tools<1.4.0-1
1.4.0-1
Microsoft Azure Linux=3.0
IBM API Connect<=V10.0.8.0 - V10.0.8.13
debian/golang-golang-x-sys
All of the following
azurelinux/gvisor-tap-vsock<6:0.9.0-2.azl4
6:0.9.0-2.azl4
Microsoft Azure Linux=4.0
All of the following
azurelinux/golang-x-sys<0:0.45.0-3.azl4
0:0.45.0-3.azl4
Microsoft Azure Linux=4.0
ubuntu/golang-golang-x-sys*
ubuntu/google-guest-agent*
ubuntu/golang-golang-x-sys*
ubuntu/google-guest-agent*
ubuntu/google-guest-agent*
ubuntu/golang-golang-x-sys*
ubuntu/golang-golang-x-sys*
ubuntu/google-guest-agent*
ubuntu/golang-golang-x-sys*
ubuntu/google-guest-agent*
ubuntu/golang-golang-x-sys*
ubuntu/google-guest-agent*
ubuntu/golang-golang-x-sys*
ubuntu/google-guest-agent*
ubuntu/golang-golang-x-sys*
ubuntu/google-guest-agent*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade azurelinux/azurelinux-image-tools to a version that resolves this vulnerability.

    Fixed in 1.4.0-1
  2. Upgrade

    Upgrade azurelinux/gvisor-tap-vsock to a version that resolves this vulnerability.

    Fixed in 6:0.9.0-2.azl4
  3. Upgrade

    Upgrade azurelinux/golang-x-sys to a version that resolves this vulnerability.

    Fixed in 0:0.45.0-3.azl4

Event History

May 22, 2026
CVE Published
via MITRE·07:39 PM
Data Sourced
via MITRE·07:39 PM
DescriptionWeakness
Data Sourced
via OSV·08:16 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:16 PM
Description
May 27, 2026
Data Sourced
via Microsoft·08:08 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:08 AM
Affected Software
Updated
via Microsoft·08:08 AM
Affected Software
Updated
via Microsoft·08:08 AM
Weakness
Data Sourced
via NVD·02:16 PM
SeverityWeakness
Aug 7, 2026
Updated
via Microsoft·11:20 AM
SeverityWeakness
Sep 1, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 11, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 22, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 29, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 18, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 19, 2026
Updated
via IBM·12:00 AM
Affected 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