Vulnerabilities · 2020 · Ffmpeg
CVE-2020-12284
Ffmpeg vulnerability
cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ffmpeg, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ffmpeg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734 · Exploit
- github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726 · Patch
- github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99 · Patch
- security.gentoo.org/glsa/202007-58 · Third Party Advisory
- usn.ubuntu.com/4431-1/ · Third Party Advisory
- www.debian.org/security/2020/dsa-4722 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-12284
- cve.org/CVERecord?id=CVE-2020-12284
More vulnerabilities in Ffmpeg products
CVE-2025-63757CVE-2025-25469CVE-2025-25468CVE-2025-22921CVE-2025-1594CVE-2025-1373CVE-2025-0518CVE-2024-55069All 474
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.