A flaw was found in FFmpeg. A remote attacker could exploit this vulnerability by providing a specially crafted MPEG-PS/VOB media file containing a malicious DVD subtitle stream. This vulnerability is caused by a signed integer overflow in the DVD subtitle parser's fragment reassembly bounds checks, leading to a heap out-of-bounds write. Successful exploitation can result in a denial of service (DoS) due to an application crash, and potentially lead to arbitrary code execution.
Make sure you’re on a patched FFmpeg build since this is a parser level issue and hard to mitigate otherwise. Are you sanitizing or rejecting untrusted media inputs before processing?
I’m currently relying on the default FFmpeg build, so I’ll check if it’s patched. For now I’m not doing strict sanitization, just basic validation, do you recommend rejecting unsupported formats upfront? https://fnf-games.io