Skip to main content

PCSX2 CVE-2025-67749

MEDIUM
Out-of-bounds Read (CWE-125)
2025-12-12 security-advisories@github.com
5.3
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious disc image/ELF with bad MG header
  2. Delivery
    User loads file in PCSX2
  3. Exploit
    SCMD handler triggers unchecked memcpy
  4. Execution
    OOB read of emulator memory reflected to guest
  5. Impact
    Leaked data exfiltrated by crafted ELF

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to load an attacker-crafted PS2 disc image or ELF binary into PCSX2 version 2.5.377 or earlier; the malicious file must set MG (MagicGate) header offset and size fields that drive the vulnerable memcpy in the CDVD SCMD 0x91 and 0x8F handlers. Limiting factors: this is not remotely reachable without user action - the attacker must get the user to obtain and run a specific malicious file (UI:P/UI:R), and impact is bounded to disclosing a limited amount of adjacent host memory reflected into the emulated environment rather than code execution. Users on the patched 2.5.378 release are not affected.

Impact

This is a genuine but low-to-moderate priority issue, not a top-tier emergency. The vendor-assigned CVSS 4.0 score of 5.3 (medium) reflects limited impact: an out-of-bounds read (CWE-125) that only discloses small amounts of adjacent emulator memory (VC:L) with minor availability impact (VA:L) and no integrity impact. No EPSS score was provided, there is no CISA KEV listing (KEV=NO), and no public exploit code was identified - so there is no evidence of active or at-scale exploitation. The most important caveat is the attack vector: the CVSS 4.0 vector claims AV:N (network), but the description makes clear exploitation requires the victim to load a specially crafted disc image or ELF into the emulator, which is a local-file delivery model with user interaction (UI:P). This network-vector labeling should be treated with skepticism - in practice this behaves like a local, user-interaction-gated flaw rather than a remotely reachable service bug, which materially lowers real-world risk. The threat model is a malicious game/ELF file tricking a user, not a wormable remote exploit.

Exploit ScenarioDerived

An attacker distributes a malicious PS2 disc image or ELF (e.g. via a piracy/ROM site or a tampered game backup) and convinces a PCSX2 user to run it. When the emulator processes the file, attacker-controlled MG header offset and size fields drive an unchecked memcpy in the CDVD SCMD 0x91/0x8F handlers, causing an out-of-bounds read of host emulator memory that is reflected back into emulated memory where the crafted ELF can retrieve it. No public proof-of-concept exploit was identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

An out-of-bounds read in the PCSX2 PlayStation 2 emulator (versions 2.5.377 and below) lets a crafted disc image or ELF file cause the CDVD SCMD 0x91 and 0x8F handlers to copy more bytes out of the internal MG buffer than they contain, reflecting adjacent emulator memory back into emulated memory. The weakness is unauthenticated but requires the victim to load the malicious file (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L), so practical risk is limited to information disclosure of a bounded amount of host memory rather than code execution. Vendor-released patch: 2.5.378; no confirmed actively exploited (CISA KEV) status and no public exploit code identified at time of analysis. This is a genuine but low-to-moderate priority issue, not a top-tier emergency.

RemediationAI

Upgrade to PCSX2 2.5.378, the release that contains the bounds-checking fix; if rebuilding from source is your distribution model, apply commit 0b73eabd9ac19a5e290e7bee48d15be24e7b7d1b or cherry-pick the equivalent guards so that bit_ofs is validated against the MG buffer size in SCMD 0x91 and the block-count-derived copy length is validated against the remaining buffer in SCMD 0x8F. Because exploitation requires the user to open a malicious disc image or ELF, the most effective compensating controls are operational: only load ISOs, homebrew ELF binaries, and translation patches from trusted sources, and treat PCSX2 as untrusted when processing unknown files. Where untrusted files must still be examined, run the emulator under an OS sandbox (e.g., a dedicated low-privilege account, containerized/Flatpak or AppArmor/SELinux profile, or a VM) to limit exposure of adjacent host memory - the trade-off is reduced performance and possible friction with controller, audio, and GPU passthrough. Do not rely on disabling specific CDVD commands as a mitigation, as it breaks disc authentication and can prevent legitimate titles from booting. Deployment details and the vendor's own guidance are in advisory GHSA-69wg-97fx-8j5w.

Affected ProductsAI

PCSX2 versions 2.5.377 and below are affected, covering builds of the pop-culture PlayStation 2 emulator distributed from the upstream GitHub repository; the vulnerable code is the CDVD SCMD 0x91 and 0x8F handling in pcsx2/CDVD/CDVD.cpp. The issue is resolved in the tagged release v2.5.378 (https://github.com/PCSX2/pcsx2/releases/tag/v2.5.378), with the underlying fix visible in commit 0b73eabd9ac19a5e290e7bee48d15be24e7b7d1b and documented in GitHub Security Advisory GHSA-69wg-97fx-8j5w (https://github.com/PCSX2/pcsx2/security/advisories/GHSA-69wg-97fx-8j5w). Any downstream repackaging, distribution build, or fork that carries the pre-2.5.378 CDVD source is equally exposed regardless of platform, since the flaw is in portable emulation logic rather than OS-specific code.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PCSX2 emulates the PlayStation 2's CD/DVD subsystem through its CDVD module, which services SCOMMAND (SCMD) opcodes issued by emulated software. The affected code lives in pcsx2/CDVD/CDVD.cpp, in the cdvdWrite16() SCMD dispatch. Two handlers used the MagicGate (MG) header: SCMD 0x91 performed memcpy() of 0x10 bytes for mg_kbit and mg_kcon at offsets derived from a caller-supplied bit_ofs (bit_ofs - 0x20 and bit_ofs - 0x10), while SCMD 0x8F performed a memmove() of length 8 + 16 * blocks, where the block count was read from mg_buffer[bit_ofs + 4]. Because bit_ofs and the block count come from MG header fields inside the loaded media rather than from validated emulator state, neither the starting offset nor the resulting length was bounded against sizeof(cdvd.mg_buffer), producing a classic CWE-125 out-of-bounds read. The upstream fix (commit 0b73eabd9ac19a5e290e7bee48d15be24e7b7d1b) adds explicit guards: bit_ofs must be at least 0x20 and not exceed the buffer size for the 0x91 path, and for the 0x8F path it rejects negative offsets, requires ofs <= bufsize - 5 so the block count byte is readable, and requires copy_len <= bufsize - ofs before the memmove; all failing paths call fail_pol_cal() and abort the copy rather than reading past the buffer. Note that NVD's CVSS 4.0 vector characterizes this as AV:N/UI:P with a 5.3 base score, whereas the assessed vector (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L) reflects the real prerequisite: a user must deliberately open an attacker-supplied disc image or ELF, which is a local, user-interaction-driven trigger.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.4 MEDIUM

Exploitation needs the victim to open a malicious disc image/ELF, so AV:L and UI:R; the OOB read discloses limited memory (C:L) and may crash the emulator (A:L) with no integrity impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

PCSX2 is a free and open-source PlayStation 2 (PS2) emulator. In versions 2.5.377 and below, an unchecked offset and size used in a memcpy operation inside PCSX2's CDVD SCMD 0x91 and SCMD 0x8F handlers allow a specially crafted disc image or ELF to cause an out-of-bounds read from emulator memory. Because the offset and size is controlled through MG header fields, a specially crafted ELF can read data beyond the bounds of mg_buffer and have it reflected back into emulated memory. This issue is fixed in version 2.5.378.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
popular hobbyist PS2 emulator, not production/enterprise-deployed software
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy