
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-134856 is a heap out-of-bounds read vulnerability in the SNES emulator Snes9x affecting all versions up to and including 1.63. The flaw resides in the S9xUnfreezeFromStream() function within snapshot.cpp, specifically in the Save-State Screenshot Restoration ("SHO" chunk) logic. It was reported via a GitHub issue on October 23, 2026, and published to the NVD and GitHub Advisory Database on November 23, 2026; the Snes9x project had not responded at time of disclosure. It carries a CVSS v3.1 base score of 5.3 (Medium) and a CVSS v4.0 base score of 1.9 (Low) (GitHub Advisory, Snes9x Issue).
The root cause is improper input validation (CWE-125: Out-of-bounds Read; CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) when processing the Width and Height fields from the SHO block of a .snes9x save-state file. While the rendered screen dimensions are clamped to supported maximums (MAX_SNES_WIDTH / MAX_SNES_HEIGHT), the row-advancement pointer (rowpix += 3 * ssi->Width) still uses the original, unvalidated width from the file. The screenshot data buffer is a fixed-size array of 734,208 bytes (uint8 Data[MAX_SNES_WIDTH * MAX_SNES_HEIGHT * 3]); with crafted values such as Width = Height = 65535, the pointer advances ~199,677 bytes per row and escapes the buffer after only four rows, causing a heap-buffer-overflow read. The vulnerability is locally exploitable by a low-privileged user who can induce the target to load a crafted save-state file, and is also reachable via retro_unserialize() in the Snes9x libretro core (Snes9x Issue, GitHub Advisory).
Successful exploitation causes the Snes9x emulator process to crash (segmentation fault / heap-buffer-overflow), resulting in a denial of service. Additionally, the out-of-bounds read may expose adjacent heap memory contents — potentially including other program data or sensitive runtime information — to the attacker, representing a low-severity confidentiality and integrity impact. Applications embedding the Snes9x libretro core are also affected when processing untrusted save-state data, broadening the attack surface beyond the standalone emulator (Snes9x Issue, GitHub Advisory).
A proof-of-concept (PoC) save-state file (snes9x_snapshot_oob.zip) and a Python generator script (gen_poc.py) were publicly released alongside the GitHub issue report, confirming public exploit availability (Snes9x Issue). The EPSS score is 0.0, indicating very low probability of widespread exploitation, and there is no evidence of active in-the-wild exploitation or threat actor attribution at this time. The CVE status is listed as "Deferred" and the vulnerability is not present in the CISA KEV catalog. Exploitation requires local access and low privileges, limiting the practical attack surface (GitHub Advisory).
gen_poc.py script or manually, create a .snes9x save-state file with the Width and Height fields in the SHO (screenshot) chunk set to extreme values (e.g., 65535 × 65535). The rest of the save-state can be derived from a valid game save..snes9x file and deliver it to the target user, disguised as a legitimate game save (e.g., shared via forums, file-sharing sites, or direct transfer).-loadsnapshot, or via a libretro frontend).S9xUnfreezeFromStream() processes the SHO chunk, it clamps rendered dimensions but uses the unvalidated ssi->Width for row pointer advancement (rowpix += 3 * ssi->Width), causing the pointer to escape the 734,208-byte screenshot buffer after ~4 rows..snes9x save-state files, particularly those with anomalously small file sizes relative to a full game save; presence of poc_tiny.snes9x or files from snes9x_snapshot_oob.zip.heap-buffer-overflow report referencing snapshot.cpp:1798 in S9xUnfreezeFromStream().snes9x with stack traces pointing to S9xUnfreezeFromStream() → S9xUnfreezeGame() in snapshot.cpp; ASAN output showing READ of size 1 at an address just beyond a ~734,214-byte heap region (Snes9x Issue).No official patched release from the Snes9x project was available at the time of disclosure, as the project had not yet responded to the issue report. A GitHub Advisory (GHSA-65v7-5m96-v7xg) has been published and users should monitor the Snes9x repository for a fix. In the interim, avoid loading .snes9x save-state files from untrusted or unknown sources, and validate the integrity of save-state files before loading them. Organizations using the Snes9x libretro core should similarly restrict processing of untrusted save-state data until a patch is available (GitHub Advisory, Snes9x Issue).
The vulnerability was reported responsibly via a GitHub issue by researcher "suywang" on October 23, 2026, with a detailed root cause analysis, reproduction steps, and a PoC attached. The Snes9x project had not publicly responded to the issue at the time of CVE publication. The advisory was noted by automated vulnerability tracking services including VulDB, Cloudflare Radar, and CIRCL, but has not attracted significant broader media or security community commentary, consistent with its low CVSS severity and local-only attack vector (Snes9x Issue, GitHub Advisory).
Fix availability across major Linux distributions and their releases.
bookworm
libretro-snes9x
sid
libretro-snes9x
trixie
libretro-snes9x
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."