CVE-2020-24020
Ffmpeg vulnerability analysis and mitigation

Overview

Buffer Overflow vulnerability was discovered in FFmpeg 4.2.3 affecting the dnnexecutelayerpad function in libavfilter/dnn/dnnbackendnativelayer_pad.c. The vulnerability is due to a call to memcpy without length checks, which could potentially allow a remote malicious user to execute arbitrary code (NVD, FFmpeg Ticket).

Technical details

The vulnerability exists in all four different memcpy calls within the dnnexecutelayerpad function. An integer overflow occurs when calculating the destination buffer size using calculateoperanddatalength function. This could allow an attacker to control the address of the source and destination buffer inside the memcpy and cause a read/write overflow. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could potentially allow an attacker to execute arbitrary code through buffer overflow exploitation. However, it's important to note that this is only possible if the attacker has full control over the ffmpeg command line, in which case the system would already be compromised independently of this bug (FFmpeg Ticket).

Mitigation and workarounds

The vulnerability has been fixed in FFmpeg through commit 584f396132aa19d21bb1e38ad9a5d428869290cb. Users should upgrade to a patched version of FFmpeg to mitigate this vulnerability (FFmpeg Commit).

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
  • ffmpeg
NoYesOct 06, 2025
CVE-2025-59732HIGH8.7
  • FfmpegFfmpeg
  • ffmpeg
NoYesOct 06, 2025
CVE-2025-7700MEDIUM5.3
  • FfmpegFfmpeg
  • libpostproc-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