FCEUXに脆弱性、細工したUNIFファイルを開くとコードを実行されるおそれ
Summary
FCEUX 2.8.0より前のバージョンには、UNIF ROMファイルの処理に整数オーバーフローの脆弱性があり、細工されたファイルを開くとヒープ領域が壊され、エミュレーターの異常終了やコードの実行につながるおそれがあります。修正版は2.8.0です。2.8.0へのアップデートを進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
FCEUX 2.8.0より前のバージョンには、UNIF ROMファイルの処理に整数オーバーフローの脆弱性があり、細工されたファイルを開くとヒープ領域が壊され、エミュレーターの異常終了やコードの実行につながるおそれがあります。修正版は2.8.0です。2.8.0へのアップデートを進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| TASEmulatorsFCEUX |
< 2.8.0→ 2.8.0 |
2.8.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-136918 fceux No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-136918 fceux No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report github.com
- web github.com
- web github.com