CVE-2023-6602 Ffmpeg: improper handling of input format in tty demuxer of ffmpeg

Medium 5.3 Published Updated

An attacker can exfiltrate data by providing malicious non-TTY-compliant input files to FFmpeg's TTY demuxer during HLS playlist processing.

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-6602?

CVE-2023-6602 is a medium-severity vulnerability in Ffmpeg Ffmpeg, published on 31 Dec 2024. 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's TTY Demuxer. This vulnerability allows possible data exfiltration via improper parsing of non-TTY-compliant input files in HLS playlists.

Weakness: CWE-99

Which versions are affected by CVE-2023-6602?

It affects 1 product.

Products include Ffmpeg Ffmpeg.

How do I fix CVE-2023-6602?

Upgrade to a fixed version.

Is CVE-2023-6602 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6602 exists.

All Ffmpeg Ffmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-6602, GHSA-398c-f7w9-crc8, JLSEC-2025-142, UBUNTU-CVE-2023-6602.

Is CVE-2023-6602 in your software?

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

Check your SBOMs for free