Skip to main content

FCEUX CVE-2026-136919

| EUVDEUVD-2026-135425 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-11-25 VulnCheck GHSA-6jj4-r9mr-gm4g
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted NES 2.0 ROM to user
  2. Delivery
    User opens .nes file in FCEUX
  3. Exploit
    Overflow in iNESLoad size calc
  4. Execution
    Heap out-of-bounds write
  5. Impact
    Crash or possible code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
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 an attacker-supplied .nes file in FCEUX versions 2.5.0 up to (not including) 2.8.0. The ROM must be a NES 2.0 image using exponent-multiplier PRG ROM size notation combined with mapper 53, 198, 228, or 547 to trigger the integer overflow in iNESLoad(). Limiting factors: this is local/file-based (AV:L) and demands user interaction (UI:P) - the attacker cannot trigger it remotely without the user loading the file - which substantially constrains real-world exploitation to social-engineering delivery. The only complete fix per the evidence is updating to FCEUX 2.8.0.

Impact

This is a moderate-priority local vulnerability, not an internet-facing emergency. The input CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P) confirms exploitation requires local delivery of a malicious file and passive user interaction - the victim must open a crafted .nes ROM in FCEUX - so despite PR:N (no authentication to the emulator itself), this is not remotely automatable mass exploitation. Technical impact is high (VC:H/VI:H/VA:H) because a heap out-of-bounds write can crash the process and, per the description, possibly lead to code execution in the user's context. No EPSS score, KEV listing, or confirmed public exploit was supplied in the input; the vuln.today Decision label is 'this_week' (not act_now/emergency), which aligns with a client-side file-parsing bug in niche software. The signals are consistent rather than conflicting: a genuinely exploitable memory-corruption flaw, but one gated behind social-engineering/file-delivery, affecting a hobbyist emulator - real but contained risk. No special-interest exploitation data is present, so treat the code-execution potential as plausible but unproven from the available sources.

Exploit ScenarioDerived

An attacker distributes a malicious NES 2.0 ROM (for example via a ROM-sharing site, forum, or chat) crafted to use exponent-multiplier PRG ROM size notation with mapper 53, 198, 228, or 547. When a user opens the .nes file in a vulnerable FCEUX build (2.5.0 through pre-2.8.0), the integer overflow in iNESLoad() causes a write past the heap buffer, crashing the emulator and potentially executing attacker-controlled code. No public, verified working exploit is identified in the provided sources; a GitHub issue and vendor advisory describe the flaw but are not confirmed as weaponized exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 25, 2026

Heap out-of-bounds write in the FCEUX NES emulator's iNES ROM loader (iNESLoad() in src/ines.cpp) affects versions 2.5.0 through 2.7.x and is corrected in 2.8.0. A crafted NES 2.0 ROM that declares its PRG ROM size using exponent-multiplier notation, combined with mapper 53, 198, 228 or 547, causes a 32-bit size calculation to overflow so that allocated buffer space no longer matches the size used when loading data, allowing memory corruption that crashes the emulator and could potentially lead to code execution in the context of the user running FCEUX. The attack is file-based and requires the victim to open an attacker-supplied .nes file, so delivery depends on social engineering rather than remote access; scoring is 8.5 (CVSS 4.0 vector AV:L/AC:L/AT:N/PR:N/UI:P, assessed as CVSS 3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), no public exploit code has been identified at time of analysis, and the vendor fix is available in release 2.8.0, making this a this_week priority item rather than an internet-facing emergency.

RemediationAI

Vendor-released patch: FCEUX 2.8.0. Updating to 2.8.0 is the only complete fix identified in the available evidence; the release is at https://github.com/TASEmulators/fceux/releases/tag/v2.8.0 and the underlying change is commit 98b5fb2ea4ec6284d2d5b0180e81f648f4f68f9c, which bounds PRG/CHR sizes to 256 MiB and performs the arithmetic in 64 bits. Administrators who cannot immediately upgrade to 2.8.0 should recognise that the exposure is confined to loading untrusted .nes files: exploitation needs the user to open an attacker-supplied ROM, so restricting which users and endpoints may open externally sourced ROM files, and treating ROM downloads from untrusted sources as potentially hostile, reduces the attack surface until the update is deployed - with the trade-off that it limits legitimate use of downloaded homebrew or ROM collections. Refer to the VulnCheck advisory (https://www.vulncheck.com/advisories/fceux-2.5.0-before-2.8.0-heap-out-of-bounds-write-via-nes-2.0-prg-rom-size) and upstream issue https://github.com/TASEmulators/fceux/issues/862 for additional detail.

Affected VersionsENISA

FCEUX 2.5.0 <2.8.0

Affected Packages

euvd fceux fix: 2.8.0

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 TAS-focused NES/Famicom emulator whose loader parses the iNES and NES 2.0 cartridge headers before mapping ROM data into memory. The root cause is CWE-190, an integer overflow: for NES 2.0 images that use the exponent-multiplier notation for PRG ROM size, the size is expressed as (1 << (ROM_size >> 2)) * ((ROM_size & 0b11) * 2 + 1), and this was evaluated with 32-bit arithmetic while the resulting value was then used to size and populate a heap buffer. A sufficiently large exponent wraps or truncates the computed size, so the allocation and the subsequent copy disagree and the loader writes past the end of the heap buffer. The upstream fix in commit 98b5fb2ea4ec6284d2d5b0180e81f648f4f68f9c rewrites the size handling to compute PRG and CHR sizes in 64-bit variables (uint64 prg_size64/chr_size64), handles the simple and exponent-multiplier notations separately for both PRG and CHR, and rejects images whose sizes exceed max_rom_image_bytes (256 MiB) or where an iNES 2.0 image yields a zero PRG size, returning LOADER_HANDLED_ERROR. The same commit hardens uppow2() in src/utils/general.cpp with a bit-spreading implementation that returns 0 for zero or an unrepresentable result instead of shifting into undefined behaviour. The trigger is specifically the exponent-multiplier PRG ROM size field of a NES 2.0 header; the affected mapper numbers (53, 198, 228, 547) determine which code path consumes the corrupted size, and the sources do not describe the exact heap layout or write primitive in more detail.

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

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

Local file must be opened by the user, so AV:L and UI:R with PR:N; heap out-of-bounds write enabling possible code execution gives C:H/I:H/A:H, scope unchanged.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

FCEUX 2.5.0 before 2.8.0 contains an integer overflow in iNESLoad() in src/ines.cpp that allows a crafted NES 2.0 ROM to write past a heap buffer. Attackers can persuade users to open a .nes file using exponent-multiplier PRG ROM size notation with mappers 53, 198, 228 or 547 to corrupt memory, crashing the emulator and possibly executing code.

Executive ViewAI

Why It Matters

A memory corruption flaw in the FCEUX NES emulator (versions 2.5.0 through 2.7.x) can be triggered when a user opens a maliciously crafted ROM file, potentially crashing the application or allowing code execution under that user's account. While exploitation requires the victim to open an attacker-supplied file rather than permitting remote access, the affected user could be anyone who runs emulator software, including staff on corporate endpoints, so the risk is best managed through software management and user awareness rather than network controls.

Business Impact: Medium
Compensating Controls

Vendor-released patch: 2.8.0

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche hobbyist NES emulator, no enterprise or server footprint
Social Media
1
Sightings
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

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

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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