Description
FFmpeg before 8.1.3 contains an infinite loop vulnerability in the HLS demuxer that allows remote attackers to cause denial of service because parse_playlist() accepts Master Playlist tags inside Media Playlists. Attackers can trick victims into opening a crafted self-referencing playlist that endlessly adds variants in hls_read_header(), causing unbounded CPU and I/O consumption.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
FFmpeg FFmpeg
Default version status: unaffected
0 to < 8.1.3affected
pkg:github/ffmpeg/ffmpegReferences
- https://github.com/FFmpeg/FFmpeg/commit/c364ab176f722bdabc886845e770c9eacbc1e3e5 ↗
- https://github.com/FFmpeg/FFmpeg/commit/0e6eef35517a ↗
- https://github.com/FFmpeg/FFmpeg/commit/a4ddaba8bb78 ↗
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23618 ↗
- https://github.com/FFmpeg/FFmpeg/blob/n8.1.2/libavformat/hls.c#L866 ↗
- https://gist.github.com/OxBat/59574a2940092cda1b6e76bbf96f53d0 ↗
- https://github.com/FFmpeg/FFmpeg ↗
- https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-hls-demuxer-infinite-loop-via-self-referencing-playlist ↗