Vulnerabilities in pkg:nuget/directxtk_uwp
PACKAGEGHSA-c55g-rp4x-fx84 is a MODERATE .spritefont multiply overflow only vulnerability (CWE-190: Integer Overflow or Wraparound) affecting Microsoft DirectX libraries in the NuGet ecosystem. The issue involves .spritefont multiply overflow only in 32-bit builds. Remediation is available by upgrading affected packages to version 2026.5.8.1.
pkg:nuget/directxtk_uwp
Vulnerability advisories affecting package pkg:nuget/directxtk_uwp. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-c55g-rp4x-fx84 | - | MODERATE | Microsoft DirectX: .spritefont multiply overflow only in 32-bit builds |
GHSA-c55g-rp4x-fx84 at a Glance
How to Fix GHSA-c55g-rp4x-fx84
To remediate this vulnerability, upgrade all affected Microsoft DirectX dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade directxtk_desktop_win10 to 2026.5.8.1
Upgrade directxtk_uwp to 2026.5.8.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for directxtk_desktop_win10
How to Check if You Are Affected
To determine whether your application is affected by GHSA-c55g-rp4x-fx84, inspect your project dependencies for Microsoft DirectX:
inspect dependencies for directxtk_desktop_win10
Analyze the terminal output to locate any version of Microsoft DirectX in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.5.8.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-190: Integer Overflow or Wraparound, where the product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. this occurs when an integer value is incremented to a value that is too large to store in the associated representation. when this occurs, the value may become a very small or negative number. In Microsoft DirectX, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-c55g-rp4x-fx84 Affected Microsoft DirectX Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
directxtk_desktop_win10
|
NuGet |
< 2026.5.8.1
|
2026.5.8.1
|
|
directxtk_uwp
|
NuGet |
< 2026.5.8.1
|
2026.5.8.1
|
References
Frequently Asked Questions
What is GHSA-c55g-rp4x-fx84?
Which Microsoft DirectX versions are affected?
What version fixes GHSA-c55g-rp4x-fx84?
Is directxtk_desktop_win10 affected?
Is directxtk_uwp affected?
What CWE is associated with GHSA-c55g-rp4x-fx84?
How can I check NuGet dependencies for GHSA-c55g-rp4x-fx84?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c55g-rp4x-fx84",
"modified" : "2026-05-18T15:38:15Z",
"published" : "2026-05-18T15:38:15Z",
"aliases" : [ ],
"summary" : "Microsoft DirectX: .spritefont multiply overflow only in 32-bit builds",
"details" : "### Impact\nThe spritefont reader can be induced to perform a 32-bit overflow multiply that could in theory result in a RCE.\n\nThis impacts the use of the *DirectX Tool Kit* **SpriteFont** class file loading ctor if given untrusted data files.\n\n> Note this only applies to x86/ARM builds of the library. ARM64 and x64 native is not subject to this issue.\n\n### Patches\nThis bug has been fixed in the May 7, 2026 release. Alternatively, users can update their copy of the reader as per [this commit](https://github.com/microsoft/DirectXTK/commit/ef1bd5d7f492c39dd0cd87493ba8ea38725c9791).\n\n### Workarounds\nThis does not apply if a project's .spritefont files are all 'trusted' data that were included with an application. It's primarily an issue only if developers are using user-provided or network downloaded spritefont files.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "directxtk_desktop_win10"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2026.5.8.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 2026.4.1.1"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "directxtk_uwp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2026.5.8.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 2026.4.1.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/microsoft/DirectXTK/security/advisories/GHSA-c55g-rp4x-fx84"
}, {
"type" : "WEB",
"url" : "https://github.com/microsoft/DirectXTK/commit/ef1bd5d7f492c39dd0cd87493ba8ea38725c9791"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/microsoft/DirectXTK"
}, {
"type" : "WEB",
"url" : "https://github.com/microsoft/DirectXTK/releases/tag/may2026"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-190" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-18T15:38:15Z",
"nvd_published_at" : null
}
}