CVE-2021-3566
Ffmpeg vulnerability analysis and mitigation

Overview

CVE-2021-3566 is a security vulnerability discovered in FFmpeg's tty demuxer functionality. The vulnerability was disclosed and patched in 2021, affecting FFmpeg multimedia framework installations across various Linux distributions including Ubuntu and Debian (Ubuntu Security, Debian LTS).

Technical details

The vulnerability stems from the tty demuxer not having a 'read_probe' function assigned to it. This technical oversight allows exploitation through crafted 'ffconcat' files that reference an image followed by a file triggering the tty demuxer, resulting in the contents of the second file being copied verbatim into the output file when using the -vcodec copy option (Debian LTS).

Impact

When exploited, this vulnerability could lead to information disclosure as it allows attackers to manipulate file contents through crafted input. The vulnerability specifically affects the handling of data assigned to the tty demuxer, potentially exposing sensitive information (Ubuntu Security).

Mitigation and workarounds

The vulnerability has been patched in multiple distributions. Ubuntu 16.04 ESM users should update to FFmpeg version 7:2.8.17-0ubuntu0.1+esm4, while Debian 9 (Stretch) users should upgrade to version 7:3.2.15-0+deb9u3. The fix involves implementing a proper read_probe function for the tty demuxer (Ubuntu Security, Debian LTS).

Additional resources


SourceThis report was generated using AI

Related Ffmpeg vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59734HIGH8.7
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 06, 2025
CVE-2025-59733HIGH8.7
  • FfmpegFfmpeg
  • cpe:2.3:a:ffmpeg:ffmpeg
NoYesOct 06, 2025
CVE-2025-59732HIGH8.7
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 06, 2025
CVE-2025-7700MEDIUM5.3
  • FfmpegFfmpeg
  • ffmpeg-4-libavcodec-devel
NoYesNov 07, 2025
CVE-2025-12343N/AN/A
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management