CVE-2020-24020 Memory corruption in n/a

High 8.8 Published Updated

A buffer overflow in FFmpeg's DNN layer allows remote attackers to execute arbitrary code via crafted media files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-24020?

CVE-2020-24020 is a high-severity memory corruption vulnerability in Ffmpeg Ffmpeg, published on 26 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Buffer Overflow vulnerability in FFMpeg 4.2.3 in dnn_execute_layer_pad in libavfilter/dnn/dnn_backend_native_layer_pad.c due to a call to memcpy without length checks, which could let a remote malicious user execute arbitrary code.

Weakness: CWE-120

Which versions are affected by CVE-2020-24020?

It affects 1 product.

Products include Ffmpeg Ffmpeg.

How do I fix CVE-2020-24020?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-24020 being exploited?

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

All Ffmpeg Ffmpeg vulnerabilities

Sources

Also known as CLEANSTART-2024-JA68516, DEBIAN-CVE-2020-24020, GHSA-gxpf-25mm-vm27.

Is CVE-2020-24020 in your software?

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

Check your SBOMs for free