AI-assisted fuzzer finds division-by-zero bug in FFmpeg using a 21-byte file
Security researcher Darío Clavijo discovered a division-by-zero vulnerability in FFmpeg using a fuzzer built with AI assistance, which he shared on Hacker News this week. The bug resides in libavformat/vpk.c, the demuxer for Sony PS2 VPK audio files, and can crash any FFmpeg-based application that processes a specially crafted 21-byte input file. The fuzzer took just over 10 hours on a single machine and ran nearly 500,000 executions before isolating the deterministic crash, which triggers when the audio channel count is set to zero at a specific byte offset. The crash occurs via a specific custom I/O path used in the fuzzer's harness, meaning standard command-line FFmpeg usage may not reproduce it identically. The vulnerability is rated medium severity — a reliable denial-of-service rather than a code-execution flaw — and the proposed fix involves a two-line guard on the channel count variable.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in