GHSA-c55g-rp4x-fx84 — Vulnerability in directxtk_desktop_win10
Microsoft DirectX: .spritefont multiply overflow only in 32-bit builds
Does your project use an affected directxtk_desktop_win10 version?
Paste your packages.lock.json to check it for GHSA-c55g-rp4x-fx84 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
The spritefont reader can be induced to perform a 32-bit overflow multiply that could in theory result in a RCE.
This impacts the use of the DirectX Tool Kit SpriteFont class file loading ctor if given untrusted data files.
Note this only applies to x86/ARM builds of the library. ARM64 and x64 native is not subject to this issue.
Patches
This bug has been fixed in the May 7, 2026 release. Alternatively, users can update their copy of the reader as per this commit.
Workarounds
This 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.
Advisory Timeline
- First published May 18, 2026 (192 days ago).
- Last revised May 18, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package directxtk_desktop_win10 --version 2026.5.8.1
dotnet add package directxtk_uwp --version 2026.5.8.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: NuGet (2).
| Package | Fixed In |
|---|---|
| directxtk_desktop_win10 NuGet · Affected: 2020.11.12.1, 2020.2.24.4, 2020.5.10.1, 2020.6.2.1 (+31 more) | 2026.5.8.1 |
| directxtk_uwp NuGet · Affected: 2015.10.30.1, 2015.11.30.1, 2015.7.29.1, 2016.10.6.1 (+62 more) | 2026.5.8.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-190Integer OverflowMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.3 score means for each attack dimension.
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
References
Frequently Asked Questions
- What is GHSA-c55g-rp4x-fx84?
- Microsoft DirectX: .spritefont multiply overflow only in 32-bit builds. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 7.3/10).
- How do I check if my project is affected by GHSA-c55g-rp4x-fx84?
- GHSA-c55g-rp4x-fx84 affects directxtk_desktop_win10 and directxtk_uwp. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-c55g-rp4x-fx84 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
Related CVEs
- CVE-2026-114154MEDIUM
Microsoft Security Advisory CVE-2026-114154 - ASP.NET Core Denial of Service Vulnerability
- GHSA-6856-87hx-p5x7MEDIUM
Microsoft Security Advisory CVE-2026-105544 - .NET Elevation of Privilege Vulnerability