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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| TASEmulators | FCEUX | 2.5.0 – < 2.8.0 | 2.8.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fceux | No fix yet | — |
| Debian 13 | fceux | No fix yet | — |
| Debian 12 | fceux | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | fceux | No fix yet | — |
| Ubuntu 26.04 LTS | fceux | No fix yet | — |
| Ubuntu 24.04 LTS | fceux | No fix yet | — |
| Ubuntu 22.04 LTS | fceux | No fix yet | — |
| Ubuntu 20.04 LTS | fceux | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | fceux | No fix yet | — |
| Ubuntu 16.04 LTS | fceux | No fix yet | — |
References
- https://github.com/TASEmulators/fceux/issues/862 issue-tracking
- https://github.com/TASEmulators/fceux/commit/98b5fb2ea4ec6284d2d5b0180e81f648f4f68f9c patch
- FCEUX v2.8.0 Release Notes release-notes
- https://github.com/TASEmulators/fceux/blob/fceux-2.7.0/src/ines.cpp#L872-L978 technical-description
- VulnCheck Advisory: FCEUX 2.5.0 before 2.8.0 Heap Out-of-Bounds Write via NES 2.0 PRG ROM Size third-party-advisory