DescriptionFCEUX 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.