GO-2026-5024

    Dashboard / Vulnerabilities / GO-2026-5024

    GO-2026-5024

    Published: 22 May 2026Last Modified: 9 Jun 2026

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

    Details: 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.

    Affected packages

    Package

    Name: golang.org/x/sys

    Purl: pkg:golang/golang.org/x/sys

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.44.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High