fix: remove unsafe exec() in module.c#814
Open
orbisai0security wants to merge 1 commit into
Open
Conversation
Automated security fix generated by Orbis Security AI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix critical severity security issue in
mupen64plus-rsp-cxd4/module.c.Vulnerability
V-011mupen64plus-rsp-cxd4/module.c:294Description: Multiple confirmed memory safety vulnerabilities in the RSP plugin and game controller subsystem combine into a realistic attack chain. A crafted N64 ROM can trigger: (1) a stack buffer overflow via sprintf/strcpy in module.c:294-298, (2) out-of-bounds writes in game_controller.c:64/77 via malformed SI commands, and (3) heap corruption via double-free/mismatched allocator in module.c:390-396 on Windows. Any one of these paths can be used to corrupt memory and construct a code execution exploit. The attacker only needs to convince a user to open a malicious ROM file — no authentication, network access, or elevated privileges are required.
Changes
mupen64plus-rsp-cxd4/module.cVerification
Automated security fix by OrbisAI Security