{"id":"GHSA-5r97-79vw-qvm4","aliases":["GHSA-5r97-79vw-qvm4"],"related":[],"kind":"vulnerability","state":"published","title":"Microsoft DirectX12: .spritefont multiply overflow only in 32-bit builds","summary":"### Impact\nThe spritefont reader can be induced to perform a 32-bit overflow multiply that could in theory result in a RCE.\n\nThis impacts the use of the *DirectX Tool Kit* **SpriteFont** class file loading ctor if given untrusted data files.\n\n> Note this only applies to x86/ARM builds of the library. ARM64 and x64 native is not subject to this issue.\n\n### Patches\nThis 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).\n\n### Workarounds\nThis 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\nThe spritefont reader can be induced to perform a 32-bit overflow multiply that could in theory result in a RCE.\n\nThis impacts the use of the *DirectX Tool Kit* **SpriteFont** class file loading ctor if given untrusted data files.\n\n> Note this only applies to x86/ARM builds of the library. ARM64 and x64 native is not subject to this issue.\n\n### Patches\nThis 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).\n\n### Workarounds\nThis 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.","format":"markdown","source":"ghsa"}],"published":"2026-05-18T15:38:59.000Z","modified":"2026-05-18T15:49:42.342Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2026.5.8.1"}],"ecosystem":"NuGet","package":"directxtk12_desktop_win10","purl":"pkg:nuget/directxtk12_desktop_win10","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2026.5.8.1"}],"ecosystem":"NuGet","package":"directxtk12_uwp","purl":"pkg:nuget/directxtk12_uwp","source":"ghsa"}],"references":[{"url":"https://github.com/microsoft/DirectXTK12/security/advisories/GHSA-5r97-79vw-qvm4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/microsoft/DirectXTK12/commit/c037a024a7ed3b2162fa2bbbe209b84ba2904494","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/microsoft/DirectXTK12","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/microsoft/DirectXTK12/releases/tag/may2026","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5r97-79vw-qvm4","url":"https://github.com/advisories/GHSA-5r97-79vw-qvm4","licence":"CC-BY-4.0","modified":"2026-05-18T15:49:42.342Z"}],"updatedAt":"2026-11-25T22:56:29.482Z"}