# CVE-2026-134856: Snes9x Save-State Screenshot Restoration snapshot.cpp S9xUnfreezeFromStream out-of-bounds

> A crafted save-state screenshot can trigger an out-of-bounds read in Snes9x, crashing the emulator locally.

- **Severity:** Medium 4.8 (`CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** No
- **Published:** 23 Nov 2026
- **Updated:** 23 Nov 2026
- **Also known as:** DEBIAN-CVE-2026-134856, GHSA-65v7-5m96-v7xg, UBUNTU-CVE-2026-134856

## What is CVE-2026-134856?

CVE-2026-134856 is a medium-severity memory corruption vulnerability in Snes9x, published on 23 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

A vulnerability was identified in Snes9x up to 1.63. The impacted element is the function S9xUnfreezeFromStream of the file snapshot.cpp of the component Save-State Screenshot Restoration. The manipulation leads to out-of-bounds read. The attack must be carried out locally. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-125 (Out-of-bounds Read), CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer)

## Which versions are affected by CVE-2026-134856?

It affects 1 product.

An affected version is exposed as installed. No special setting or call is needed.


Products: SNES9X.

CPE match criteria (CPE 2.3):

- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.0 up to 1.0
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.1 up to 1.1
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.2 up to 1.2
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.3 up to 1.3
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.4 up to 1.4
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.5 up to 1.5
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.6 up to 1.6
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.7 up to 1.7
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.8 up to 1.8
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.9 up to 1.9
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.10 up to 1.10
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.11 up to 1.11
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.12 up to 1.12
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.13 up to 1.13
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.14 up to 1.14
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.15 up to 1.15
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.16 up to 1.16
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.17 up to 1.17
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.18 up to 1.18
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.19 up to 1.19
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.20 up to 1.20
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.21 up to 1.21
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.22 up to 1.22
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.23 up to 1.23
- `cpe:2.3:a:snes9x:snes9x:*:*:*:*:*:*:*:*` from 1.24 up to 1.24

## How do I fix CVE-2026-134856?

No fix has been published for CVE-2026-134856 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-134856 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134856 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-134856 and fix it if it is affected.

What it is: CVE-2026-134856 is a medium-severity memory corruption vulnerability in Snes9x, published on 23 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134856 exists.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected product: Snes9x. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-134856/ (Markdown: https://insights.sbomify.com/CVE-2026-134856/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-134856
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-134856
- OSV: https://osv.dev/vulnerability/CVE-2026-134856

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-134856/
Summaries are generated and may contain mistakes; the official description above is the record.
