CVE-2020-21041 Memory corruption in n/a

High 7.5 Published Updated

A buffer overflow in FFmpeg's PNG encoder allows remote attackers to cause a denial of service via crafted input.

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

What is CVE-2020-21041?

CVE-2020-21041 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 24 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Buffer Overflow vulnerability exists in FFmpeg 4.1 via apng_do_inverse_blend in libavcodec/pngenc.c, which could let a remote malicious user cause a Denial of Service

Weakness: CWE-120

Which versions are affected by CVE-2020-21041?

It affects 2 products.

Products include Debian Debian Linux, Ffmpeg Ffmpeg.

How do I fix CVE-2020-21041?

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-21041 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as CLEANSTART-2024-MJ52124, DEBIAN-CVE-2020-21041, GHSA-4j78-4g93-cm53, JLSEC-2025-113, UBUNTU-CVE-2020-21041.

Is CVE-2020-21041 in your software?

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

Check your SBOMs for free