Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDistribute ROM with malicious .ips sidecar
-
DeliveryVictim opens ROM in FCEUX
-
ExploitZero-length RLE underflows size counter
-
ExecutionWrite 65536 chosen bytes out of bounds
-
ImpactCorrupt heap and execute code
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution 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 open, in FCEUX 2.8.0 or earlier, a ROM accompanied by a crafted sidecar .ips patch file that FCEUX auto-applies on open; the .ips must contain a zero-length RLE record, which underflows the uint16 size counter in ApplyIPS() and forces a 65536-byte out-of-bounds write at an attacker-chosen offset. Limiting factors: the attack vector is local (AV:L) with passive user interaction (UI:P) - the attacker cannot trigger it remotely and must induce the victim to open the malicious ROM/.ips pair; no authentication or elevated privileges are involved (PR:N), and the affected software is a desktop emulator, so there is no server-side or network-facing exposure. |
| Impact | The input CVSS 4.0 vector (CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, base 8.5/High) describes a locally-triggered, user-interaction-dependent flaw with full confidentiality, integrity and availability impact and no scope change to subsequent systems. The mechanism is unusually clean for an attacker: the supplied PR diff and description confirm a zero-length RLE record underflows the uint16 size counter in a do/while(--size) loop, giving a deterministic primitive to write 65536 attacker-chosen bytes at an attacker-chosen offset - a strong, reliable heap-corruption primitive rather than a fragile race. Weighing signals against each other: technical impact is high and the trigger is well understood (patch and root cause are public), but the delivery path is local (AV:L) and requires the victim to open a crafted ROM whose sidecar .ips is auto-applied (UI:P), and the affected product is a hobbyist NES emulator, which bounds mass-exploitation potential. It is NOT in CISA KEV and no EPSS score was supplied, so there is no evidence of active or widespread exploitation; no public exploit code is referenced either. The vuln.today decision label is 'this_week', consistent with a serious, well-characterized memory-corruption bug that warrants prompt patching but is not flagged act_now/emergency. Net: a genuine high-quality vulnerability with a dependable exploitation primitive, but real-world urgency is tempered by the local/user-interaction requirement and the niche deployment base - prioritize for this patch cycle rather than as an emergency. |
| Exploit ScenarioDerived | An attacker packages a game ROM together with a malicious sidecar .ips patch file containing a zero-length RLE record and distributes it on a ROM-sharing site. When a victim opens the ROM in FCEUX (≤2.8.0), the emulator auto-applies the .ips, the size counter underflows, and 65536 chosen bytes are written out of bounds at a chosen offset, corrupting the heap and potentially leading to code execution. No public exploit code is referenced, but the vendor patch and a precise root-cause diff are public, lowering the barrier to developing a working exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
A heap buffer overflow in ApplyIPS() in FCEUX's src/file.cpp lets a crafted IPS patch file write 65536 attacker-chosen bytes at an attacker-chosen offset in the emulator's heap, because a zero-length RLE record underflows the unsigned 16-bit size counter. Every FCEUX build through 2.8.0 is affected, and because the emulator auto-applies a sidecar .ips file when a ROM is opened, an attacker can distribute a ROM plus malicious .ips pair and achieve memory corruption - potentially code execution - with the privileges of the user running FCEUX. The flaw is local and requires the victim to open the file pair (CVSS 4.0 base 8.5, High; assessed CVSS 3.1 AV:L/AC:L/PR:N/UI:R with full confidentiality, integrity and availability impact), no public exploit code has been identified at time of analysis, and an upstream fix is available as a pull request and commit.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply https://github.com/TASEmulators/fceux/pull/863 or commit https://github.com/TASEmulators/fceux/commit/245b4190453a47e76814227facba320531cf0c51 and rebuild FCEUX from source if a packaged build with the fix is not yet available. The patch rewrites the RLE write loop in ApplyIPS() from do { ... } while(--size) to while(size--), so a zero run length no longer underflows the 16-bit counter; there is no configuration switch or runtime option that changes this code path. Until a fixed build is deployed, the practical mitigation consistent with the reported trigger is to avoid opening ROM images that arrive with an unfamiliar sidecar .ips file, or to strip/quarantine the .ips before loading the ROM - note that this removes the auto-patching convenience that legitimate translation and hack patches rely on, so users should verify the patch's provenance rather than blanket-disabling the feature. The vendor advisory at https://www.vulncheck.com/advisories/fceux-through-2.8.0-heap-buffer-overflow-via-ips-rle-record-in-applyips should be consulted for the vendor's own remediation statement.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FCEUX is a desktop NES/Famicom emulator that supports IPS (International Patching System) patches, commonly shipped as a sidecar .ips file next to a ROM image and applied automatically when the ROM is loaded. ApplyIPS() in src/file.cpp (the vulnerable logic sits around lines 99-124 in the v2.8.0 tag) parses IPS records: an offset, a 16-bit big-endian size, and either literal data or, when the size field is zero, an RLE record consisting of a 16-bit run length and a single byte value. In the affected implementation the RLE write loop is written as do { ... } while(--size) over an unsigned 16-bit counter, so a run length of zero wraps the counter to 65535 and drives 65536 iterations, writing that many copies of the attacker-supplied byte starting at the record's offset. This is CWE-122, a heap-based buffer overflow: the destination buffer is sized for the ROM image and the chosen offset plus 65536 bytes runs past its end, corrupting adjacent heap metadata and objects. The root cause is an unsigned integer underflow used as a loop bound rather than a straightforward copy-length check, and the upstream patch replaces the do/while(--size) construct with a while(size--) loop that performs zero iterations for a zero run length, as documented in the patch comment. No authentication, privilege elevation or remote vector is involved - exploitation is entirely mediated by the victim opening an attacker-supplied ROM/.ips pair in the emulator.
Know when Fceux gets its next vulnerability
- 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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local file-open trigger (AV:L) with victim required to open a crafted ROM/.ips (UI:R), no privileges (PR:N), deterministic zero-length-RLE primitive (AC:L), and memory corruption enabling code execution yields C:H/I:H/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FCEUX through 2.8.0 contains a heap buffer overflow vulnerability in ApplyIPS() in src/file.cpp that allows attackers to write out of bounds by supplying a crafted IPS patch file with a zero-length RLE record. Attackers can distribute a ROM with a malicious sidecar .ips file that is auto-applied on open, writing 65536 chosen bytes at a chosen offset to corrupt heap memory and potentially execute code.
Executive ViewAI
A high-severity memory corruption vulnerability in the FCEUX emulator (all versions through 2.8.0) can allow an attacker to execute arbitrary code on an employee's machine if they open a specially crafted game ROM and IPS patch file pair. This puts any staff who use FCEUX for work or personal gaming at risk of full system compromise, potentially leading to data loss, credential theft, and lateral movement within the network.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Heap out-of-bounds write in the FCEUX NES emulator's iNES ROM loader (iNESLoad() in src/ines.cpp) affects versions 2.5.0
Heap out-of-bounds write in FCEUX before 2.8.0 is reachable when a user opens a crafted UNIF ROM (.unf) containing a MAP
EUVD-2026-141733
GHSA-8936-r7mh-52g6
NVD
CVE.org
Vulnrichment
Exploit-DB