Heap-based Buffer Overflow in FFmpeg 4.2: Critical Vulnerability in Multimedia Processing

qtwebengine-opensource-src Updated 03 Oct 2025

Summary

01/06/2021
N/A
No i
High
8.8

UBUNTU-CVE-2020-22035: A heap-based Buffer Overflow vulnerability exists in FFmpeg 4.2 in get_block_row at libavfilter/vf_bm3d.c, which might lead to memory corruption and other potential consequences. Affects qtwebengine-opensource-src versions 5.9.1+dfsg-4 – 5.9.5+dfsg-0ubuntu2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

FFmpeg is a widely-used open-source software suite for handling multimedia data, including audio and video processing. It provides libraries and tools to encode, decode, transcode, mux, demux, stream, filter, and play almost anything that humans and machines have created. The package is essential for developers and users who require robust multimedia capabilities. However, FFmpeg 4.2 has been found to contain a critical vulnerability that could lead to severe security risks.

Vulnerability Detail

A heap-based Buffer Overflow vulnerability exists in FFmpeg 4.2 in the function get_block_row located in libavfilter/vf_bm3d.c. This vulnerability can lead to memory corruption, which may allow an attacker to execute arbitrary code, potentially compromising the system's integrity and confidentiality. The vulnerability has a CVSS score of 8.8, indicating a high severity level, and it can be exploited remotely without user interaction.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid using the affected functionalities of FFmpeg until the package is updated. Additionally, consider using alternative multimedia processing tools that do not have this vulnerability.

Conclusion

The heap-based buffer overflow vulnerability in FFmpeg 4.2 poses a significant risk to users and systems relying on this multimedia processing tool. It is crucial to update to the patched version to mitigate potential security threats. Users are encouraged to monitor their applications for vulnerabilities using tools like Vulert.

See every vulnerability recorded for qtwebengine-opensource-src →

Share this vulnerability

FAQ

The vulnerability is a heap-based buffer overflow that can lead to memory corruption and potential arbitrary code execution.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

The CVSS score of this vulnerability is 8.8, indicating a high severity level.

If you cannot update the package, avoid using the affected functionalities of FFmpeg and consider using alternative tools until the update can be applied.

More information can be found in the Ubuntu security notices and the official FFmpeg documentation regarding the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for qtwebengine-opensource-src.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback