Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-5r97-79vw-qvm4 — directxtk12-desktop-win10

⚪ Unknown ✅ No Known Exploit CWE-190 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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](https://github.com/microsoft/DirectXTK12/commit/c037a024a7ed3b2162fa2bbbe209b84ba2904494).

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality low, integrity low, availability low.

CVSS metrics in full

The score comes from this vector: 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

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Attack requirements: None — no deployment-specific condition has to hold.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: Low — limited, and the attacker does not choose what is affected.

Weakness class

GHSA-5r97-79vw-qvm4 is classified as CWE-190: Integer Overflow or Wraparound. Arithmetic produces a value too large for its type and wraps around, so a later size or bounds check passes when it should not.

Affected software

GHSA-5r97-79vw-qvm4 is recorded against 2 packages.

  • directxtk12-desktop-win10 (fixed in 2026.5.8.1)
  • directxtk12-uwp (fixed in 2026.5.8.1)

Timeline and source

Published on 18 May 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Web)
github.com (Package)
github.com (Web)

Same weakness in other software

These advisories are the same class of weakness (CWE-190: Integer Overflow or Wraparound) in other software:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector 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
CWE CWE-190
Public Exploit ✅ No
Source OSV
Published 2026-05-18
Updated 2026-08-20
Modified 2026-05-18
Fix URL N/A

Affected Packages

Software From version Fixed in
directxtk12-desktop-win10 — 2026.5.8.1
directxtk12-uwp — 2026.5.8.1

Free Vulnerability Check

Is your site affected by GHSA-5r97-79vw-qvm4?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-5r97-79vw-qvm4 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated
✓