CVE-2023-6604 Ffmpeg: hls xbin demuxer dos amplification in ffmpeg

Medium 5.3 Published Updated

Attackers can cause denial of service in FFmpeg by triggering excessive CPU and storage usage through improper validation in the HLS XBIN demuxer.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-6604?

CVE-2023-6604 is a medium-severity denial of service vulnerability in Ffmpeg Ffmpeg, published on 6 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in FFmpeg. This vulnerability allows unexpected additional CPU load and storage consumption, potentially leading to degraded performance or denial of service via the demuxing of arbitrary data as XBIN-formatted data without proper format validation.

Weakness: CWE-94, CWE-99

Which versions are affected by CVE-2023-6604?

It affects 1 product.

Products include Ffmpeg Ffmpeg.

How do I fix CVE-2023-6604?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-6604 being exploited?

There is no known exploitation of CVE-2023-6604 in the wild and no public exploit code.

All Ffmpeg Ffmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-6604, GHSA-j6rq-mppc-h3jr, JLSEC-2025-148, OESA-2026-3877, OESA-2026-3878, UBUNTU-CVE-2023-6604.

Is CVE-2023-6604 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free