Advisory

GHSA-5r97-79vw-qvm4

Also known as: None

Summary

Microsoft DirectX12: .spritefont multiply overflow only in 32-bit builds

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-18 15:38 UTC
Modified
2026-05-18 15:49 UTC

Affected packages and fixes

directxtk12_desktop_win10

NuGet · All systems

Affected

  • introduced 0, fixed 2026.5.8.1 (ecosystem)

Fixed versions

2026.5.8.1

Fix

The export has no generic command for this ecosystem.

directxtk12_uwp

NuGet · All systems

Affected

  • introduced 0, fixed 2026.5.8.1 (ecosystem)

Fixed versions

2026.5.8.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences