Description
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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| TASEmulators | FCEUX | >= 2.5.0, < 2.8.0 |
References
- https://github.com/TASEmulators/fceux/blob/fceux-2.7.0/src/ines.cpp#L872-L978
- https://github.com/TASEmulators/fceux/commit/98b5fb2ea4ec6284d2d5b0180e81f648f4f68f9c
- https://github.com/TASEmulators/fceux/issues/862
- https://github.com/TASEmulators/fceux/releases/tag/v2.8.0
- 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
Timeline
- Published
- Nov 25, 2026
- Last modified
- Dec 1, 2026
- NVD status
- Received