CVE-2026-142492: FCEUX through 2.8.0 Heap Buffer Overflow via IPS RLE Record in ApplyIPS()

Published Dec 2, 2026
·
Updated

FCEUX through 2.8.0 contains a heap buffer overflow vulnerability in ApplyIPS() in src/file.cpp that allows attackers to write out of bounds by supplying a crafted IPS patch file with a zero-length RLE record. Attackers can distribute a ROM with a malicious sidecar .ips file that is auto-applied on open, writing 65536 chosen bytes at a chosen offset to corrupt heap memory and potentially execute code.

Affected Software

1 affected component
FCEUX FCEUX<=2.8.0

Event History

Dec 2, 2026
CVE Published
via MITRE·05:42 PM
Data Sourced
via MITRE·05:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:19 PM
DescriptionSeverityWeakness
Event
via NVD·06:19 PM

Frequently Asked Questions

1

Which installations are affected?

FCEUX versions through 2.8.0 are affected. The issue is in the IPS patch-handling code in ApplyIPS().

2

What must an attacker do to trigger the overflow?

The attacker must provide a crafted IPS patch containing a zero-length RLE record. A ROM distributed with a malicious sidecar .ips file can trigger the issue when the ROM is opened and the sidecar patch is automatically applied.

3

What can be done while patching is unavailable?

Do not open untrusted ROM packages that include sidecar .ips patch files. Review or remove accompanying .ips files before opening ROMs from untrusted sources.

4

How can potentially malicious patch files be identified?

Inspect IPS files associated with ROMs for RLE records with a zero length. Such a record can cause FCEUX to write 65,536 attacker-chosen bytes at an attacker-chosen offset.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203