Description
FCEUX before 2.8.0 contains an integer overflow in SetBoardName() in src/unif.cpp that allows crafted UNIF ROM files to write past a heap buffer. Attackers can persuade users to open a .unf file with a 0xFFFFFFFF MAPR chunk length, wrapping the allocation to zero and corrupting heap memory to crash the emulator or execute 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.8.0 |
References
- https://github.com/TASEmulators/fceux/blob/fceux-2.7.0/src/unif.cpp#L281-L285
- https://github.com/TASEmulators/fceux/commit/d9132c2a37bf05e31b8a09f9ad938d46ff193bf1
- https://github.com/TASEmulators/fceux/issues/862
- https://github.com/TASEmulators/fceux/releases/tag/v2.8.0
- https://www.vulncheck.com/advisories/fceux-before-2.8.0-heap-out-of-bounds-write-via-unif-mapr-chunk-length
Timeline
- Published
- Nov 25, 2026
- Last modified
- Nov 25, 2026
- NVD status
- Received