Heap Buffer Overflow in FFmpeg 7.0: Critical Vulnerability Alert

ffmpeg Updated 03 Oct 2025

Summary

01/07/2024
N/A
Yes i
High
8.4

UBUNTU-CVE-2024-32229: FFmpeg 7.0 contains a heap-buffer-overflow at libavfilter/vf_tiltandshift.c:189:5 in copy_column. Affects ffmpeg versions < 7:7.0.2-1ubuntu1. Fixed in 7:7.0.2-1ubuntu1. 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 Your last release was probably never penetration tested 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 programs for encoding, decoding, transcoding, muxing, demuxing, streaming, filtering, and playing almost anything that humans and machines have created. The package version 7:7.0.2-1ubuntu1 is affected by a critical vulnerability that can lead to severe security risks.

Vulnerability Detail

FFmpeg 7.0 contains a heap-buffer-overflow vulnerability located at libavfilter/vf_tiltandshift.c:189:5 in the copy_column function. This flaw can be exploited to cause crashes or potentially allow an attacker to execute arbitrary code, leading to unauthorized access or control over affected systems. The vulnerability is classified with a CVSS score of 8.4, indicating a high severity level.

How To Fix

Minimum fixed version

7:7.0.2-1ubuntu1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ffmpeg

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users may consider disabling the specific functionality that utilizes the affected copy_column function until the package can be updated. However, this is not a permanent solution and updating the package is strongly recommended.

Conclusion

The heap buffer overflow vulnerability in FFmpeg 7.0 poses significant risks to users and systems. It is crucial to update to the patched version to mitigate these risks. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for ffmpeg →

Share this vulnerability

FAQ

A heap buffer overflow occurs when a program writes more data to a buffer located on the heap than it was allocated for, potentially overwriting adjacent memory and leading to unpredictable behavior.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

Exploitation of this vulnerability could lead to application crashes, unauthorized access, or execution of arbitrary code, compromising the security of the affected system.

While the best course of action is to update the package, you can temporarily disable the functionality that uses the affected code until an update can be applied.

Detailed information about the vulnerability can be found in the Ubuntu Security Notices and the CVE database, specifically under CVE-2024-32229.

Related vulnerabilities

Recent vulnerabilities recorded for ffmpeg.

How To Fix

Minimum fixed version

7:7.0.2-1ubuntu1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ffmpeg

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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