Integer Overflow or Wraparound Affecting directxtk_desktop_win10 package, versions [,2026.5.8.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-DIRECTXTKDESKTOPWIN10-16875750
  • published26 May 2026
  • disclosed18 May 2026
  • creditChuck Walbourn

Introduced: 18 May 2026

New CVE NOT AVAILABLE CWE-190  (opens in a new tab)

How to fix?

Upgrade directxtk_desktop_win10 to version 2026.5.8.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the SpriteFont file loading process when handling untrusted .spritefont files. An attacker can execute arbitrary code by supplying a crafted data file that triggers a 32-bit integer overflow during multiplication operations. This is only exploitable if the application is built for x86 or ARM architectures and processes untrusted or network-downloaded .spritefont files.

Workaround

This vulnerability can be mitigated by ensuring that only trusted .spritefont files included with the application are used, and by avoiding the use of user-provided or network-downloaded files.

CVSS Base Scores

version 4.0
version 3.1