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. 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
What each source reports
GitHub Advisories Score used 6.9
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. 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.
- Record
GHSA-5r97-79vw-qvm4- CVSS 4.0
- 6.9 Medium
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 - Weakness
- CWE-190
- Updated
- 2026-11-02
OSV 6.9
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. 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.
- Record
GHSA-5r97-79vw-qvm4- CVSS 4.0
- 6.9 Medium
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 - Weakness
- CWE-190
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
directxtk12_desktop_win10NuGet | before 2026.4.1.1 | 2026.4.1.1 |
directxtk12_uwpNuGet | before 2026.4.1.1 | 2026.4.1.1 |
directxtk12_desktop_win10NuGet | before 2026.5.8.1, plus listed versions 2025.10.28.12025.3.21.32025.7.10.12026.4.1.1 | 2026.5.8.1 |
directxtk12_uwpNuGet | before 2026.5.8.1, plus listed versions 2016.10.6.12016.12.5.12016.6.30.12016.7.18.12016.8.4.1 Show 45 moreShow less2016.9.1.12016.9.15.12017.12.13.12017.2.10.12017.4.24.12017.6.21.12017.9.22.12018.10.26.12018.10.31.12018.11.20.12018.4.23.12018.5.14.12018.6.1.22018.7.3.12018.8.18.22018.9.13.12019.10.17.12019.12.17.12019.2.7.12019.4.26.12019.5.31.12019.8.23.12020.11.12.12020.2.24.12020.5.11.12020.6.15.12020.6.2.12020.7.2.12020.8.15.12020.9.30.12021.1.10.12021.10.1.12021.10.15.12021.10.19.12021.11.8.12021.4.7.22021.6.10.22021.8.2.12022.10.18.12022.12.18.12022.3.1.12022.3.24.12022.5.10.12022.7.30.12023.10.31.1 | 2026.5.8.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-5r97-79vw-qvm4 is a medium vulnerability (CVSS 6.9) in directxtk12_desktop_win10, published May 18, 2026. No source lists public exploit code. Fixed in directxtk12_desktop_win10 2026.4.1.1.
References
Left out here: 13 versions. The JSON record has them.