GHSA-5r97-79vw-qvm4: Microsoft DirectX12: .spritefont multiply overflow only in 32-bit builds
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.
Published May 18, 2026
Affected packages
directxtk12_desktop_win10
- Ecosystem
- NuGet
- Affected
- < 2026.4.1.1
- Fixed in
- 2026.5.8.1
- Check
dotnet list package --include-transitive
directxtk12_uwp
- Ecosystem
- NuGet
- Affected
- < 2026.4.1.1
- Fixed in
- 2026.5.8.1
- Check
dotnet list package --include-transitive
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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, you can just update your 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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
