Integer Overflow Vulnerability in Ffmpeg Package: CVE-2021-38092

qtwebengine-opensource-src Updated 02 Oct 2025

Summary

20/09/2021
N/A
No i
High
8.8

UBUNTU-CVE-2021-38092: Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attackers to cause a Denial of Service or other unspecified impacts. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Ffmpeg is a widely-used open-source multimedia framework that enables users to record, convert, and stream audio and video. It supports various formats and codecs, making it a crucial tool for developers and media professionals. The specific version affected by this vulnerability is 4.2.1, which contains a flaw in the libavfilter component, particularly in the filter_prewitt function. This vulnerability can lead to severe security risks if not addressed promptly.

Vulnerability Detail

The vulnerability identified as CVE-2021-38092 is an Integer Overflow issue found in the filter_prewitt function within the libavfilter module of Ffmpeg version 4.2.1. This flaw allows attackers to exploit the overflow condition, potentially leading to a Denial of Service (DoS) or other unspecified impacts. The vulnerability has a CVSS score of 8.8, indicating a high severity level, which underscores the urgency of addressing this issue to prevent exploitation.

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 specific functionality affected by the filter_prewitt function until the package is updated. This may involve disabling certain features in applications that rely on Ffmpeg for processing video filters.

Conclusion

The Integer Overflow vulnerability in the Ffmpeg package (CVE-2021-38092) poses significant risks, including potential Denial of Service attacks. Users are strongly advised to update to the latest version of Ffmpeg to mitigate these risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for qtwebengine-opensource-src →

Share this vulnerability

FAQ

CVE-2021-38092 is an Integer Overflow vulnerability in the Ffmpeg package that can lead to Denial of Service or other impacts.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score for CVE-2021-38092 is 8.8, indicating a high severity level.

You can update the Ffmpeg package by running 'sudo apt update && sudo apt install ffmpeg' in your terminal.

If you cannot update immediately, consider disabling the affected functionalities that utilize the filter_prewitt function until a patch is applied.

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