Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. directxtk12_uwp
  4. ›
  5. GHSA-5r97-79vw-qvm4

GHSA-5r97-79vw-qvm4: Microsoft DirectX12: .spritefont multiply overflow only in 32-bit builds

May 18, 2026

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.

References

  • github.com/advisories/GHSA-5r97-79vw-qvm4
  • github.com/microsoft/DirectXTK12/commit/c037a024a7ed3b2162fa2bbbe209b84ba2904494
  • github.com/microsoft/DirectXTK12/releases/tag/may2026
  • github.com/microsoft/DirectXTK12/security/advisories/GHSA-5r97-79vw-qvm4

Code Behaviors & Features

Detect and mitigate GHSA-5r97-79vw-qvm4 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2026.5.8.1

Fixed versions

  • 2026.5.8.1

Solution

Upgrade to version 2026.5.8.1 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound

Source file

nuget/directxtk12_uwp/GHSA-5r97-79vw-qvm4.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:44 +0000.