Skip to content

Added guard for 32-bit overflow in spritefont reading#399

Merged
walbourn merged 3 commits intomainfrom
brspritefontof
Apr 20, 2026
Merged

Added guard for 32-bit overflow in spritefont reading#399
walbourn merged 3 commits intomainfrom
brspritefontof

Conversation

@walbourn
Copy link
Copy Markdown
Member

@walbourn walbourn commented Apr 20, 2026

This is a potential overflow in the 32-bit version of the library when reading malicious spritefont files.

Includes refresh of the copilot instructions

@walbourn walbourn self-assigned this Apr 20, 2026
@walbourn walbourn requested review from nadaOuf and scm-xbox April 20, 2026 17:34
@walbourn walbourn added the bug label Apr 20, 2026
@walbourn
Copy link
Copy Markdown
Member Author

microsoft/DirectXTK#627

@walbourn walbourn added the co_pilot Related to Co Pilot enablement for the project label Apr 20, 2026
@walbourn walbourn merged commit c037a02 into main Apr 20, 2026
123 checks passed
@walbourn walbourn deleted the brspritefontof branch April 20, 2026 20:54
@walbourn
Copy link
Copy Markdown
Member Author

Resolves MSRC 113267 which is rated Moderate risk of Remote Code Execution. This is limited in practice as it's only 32-bit versions of the library -and- spritefont files are normally shipped with the app and not from untrusted third parties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug co_pilot Related to Co Pilot enablement for the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants