{"id":"CVE-2026-136918","summary":"FCEUX before 2.8.0 Heap Out-of-Bounds Write via UNIF MAPR Chunk Length","details":"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.","modified":"2026-11-25T17:45:32.852549883Z","published":"2026-11-25T14:51:29.852Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136918.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136918.json"},{"type":"PACKAGE","url":"https://github.com/TASEmulators/fceux"},{"type":"ARTICLE","url":"https://github.com/TASEmulators/fceux/blob/fceux-2.7.0/src/unif.cpp#L281-L285"},{"type":"FIX","url":"https://github.com/TASEmulators/fceux/commit/d9132c2a37bf05e31b8a09f9ad938d46ff193bf1"},{"type":"REPORT","url":"https://github.com/TASEmulators/fceux/issues/862"},{"type":"ADVISORY","url":"https://github.com/TASEmulators/fceux/releases/tag/v2.8.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136918"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/fceux-before-2.8.0-heap-out-of-bounds-write-via-unif-mapr-chunk-length"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tasemulators/fceux","events":[{"introduced":"0"},{"fixed":"c40fcf6319cf5e03cf39e4295e553045e695c22c"},{"fixed":"d9132c2a37bf05e31b8a09f9ad938d46ff193bf1"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.8.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"d9132c2a37bf05e31b8a09f9ad938d46ff193bf1"}]},{"range":[{"fixed":"c40fcf6319cf5e03cf39e4295e553045e695c22c"}],"source":"REFERENCES_TAG","original_tag":"v2.8.0"}]}}],"versions":["fceux-2.7.0","v2.6.6","v2.6.5","interim-build","fceux-2.6.4","fceux-2.6.3","fceux-2.6.2","fceux-2.6.1","fceux-2.6.0","fceux-2.4.0","fceux-2.3.0","fceux-2.2.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136918.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}