---
id: CVE-2026-107695
title: >-
  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
summary: >-
  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 vict…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-835
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg < 8.1.3
published: '2026-10-08'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T21:04:38.633'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107695'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23618'
    label: disclosure@vulncheck.com
  - url: 'https://gist.github.com/OxBat/59574a2940092cda1b6e76bbf96f53d0'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/FFmpeg/FFmpeg'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n8.1.2/libavformat/hls.c#L866'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/FFmpeg/FFmpeg/commit/0e6eef35517a'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/FFmpeg/FFmpeg/commit/a4ddaba8bb78'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/c364ab176f722bdabc886845e770c9eacbc1e3e5
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-hls-demuxer-infinite-loop-via-self-referencing-playlist
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-08T17:56:11.736Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
