CVE-2024-32229
High · 8.4CVSS
8.4
EPSS
0.3%
Published
Jul 1, 2024
CISA due date
—
Cloudanix analysis
A flaw in how certain video processing software handles special effects on media files can let attackers crash the program or run their own code when a crafted file is opened.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap buffer overflow in FFmpeg's copy_column function at libavfilter/vf_tiltandshift.c:189 allows out-of-bounds memory writes during tilt-and-shift video filtering operations.
Why it matters to the business
Applications processing untrusted video or image content risk crashes, arbitrary code execution, or data corruption, potentially disrupting media workflows and exposing systems to compromise.
How an attack unfolds
An attacker supplies a specially crafted video file or stream that triggers the tiltandshift filter; when the filter processes the input, the copy_column routine writes beyond allocated heap bounds, enabling memory corruption that can be leveraged for code execution.
How to fix it
Upgrade danswer-ai/danswer to commit 89ff07a96b41be9e05256bd252105be233f4d28a or later; rebuild any dependent FFmpeg integrations with patched libavfilter; avoid processing untrusted media with the affected tiltandshift filter until updated.
How to confirm the fix worked
Confirm danswer-ai/danswer is at or beyond commit 89ff07a96b41be9e05256bd252105be233f4d28a; run regression tests exercising tiltandshift on boundary-case inputs; monitor for absence of heap overflow signals in sanitizer-enabled builds.
Typical attack path
- Identify target application that invokes FFmpeg with tiltandshift filter on user-supplied media
- Craft malicious input designed to overflow the column copy buffer
- Deliver the input via file upload, streaming URL, or command-line argument
- Trigger filter processing to achieve memory corruption
- Leverage resulting primitive for code execution or denial of service
How to detect it
Review application logs for crashes or segmentation faults during video filter operations; inspect FFmpeg process memory dumps or sanitizer reports for heap overflow indicators around vf_tiltandshift; correlate with file upload or media ingestion events.
What your security team should do
- Immediately update danswer-ai/danswer to the referenced fixed commit across all deployments
- Inventory all media-processing pipelines that may invoke the tiltandshift filter
- Implement input sanitization or filter whitelisting for untrusted video content
- Enable ASAN or similar memory safety tooling in CI for FFmpeg-dependent builds
The record
FFmpeg 7.0 contains a heap-buffer-overflow at libavfilter/vf_tiltandshift.c:189:5 in copy_column.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:20.04:LTS | ffmpeg | 0 | No fix |
| Ubuntu:22.04:LTS | ffmpeg | 0 | No fix |
| Ubuntu:24.04:LTS | ffmpeg | 0 | No fix |
| Ubuntu:24.10 | ffmpeg | 0 | 7:7.0.2-1ubuntu1 |
| Ubuntu:Pro:14.04:LTS | libav | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ffmpeg | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ffmpeg | 0 | No fix |
| openSUSE:Tumbleweed | ffmpeg-7 | 0 | 7.0-3.1 |
Related vulnerabilities
- CVE-2025-0518 Unchecked Return Value, Out-of-bounds Read vulnerability in FFmpeg allows Read Sensitive… Also affects ffmpeg
- CVE-2023-6601 A flaw was found in FFmpeg's HLS demuxer. Also affects ffmpeg
- CVE-2023-6604 A flaw was found in FFmpeg. Also affects ffmpeg
- CVE-2023-6605 A flaw was found in FFmpeg's DASH playlist support. Also affects ffmpeg
- CVE-2024-36613 FFmpeg n6.1.1 has a vulnerability in the DXA demuxer of the libavformat library allowing… Also affects ffmpeg
- CVE-2024-35365 FFmpeg version n6.1.1 has a double-free vulnerability in the fftools/ffmpeg_mux_init.c… Also affects ffmpeg
- CVE-2023-6603 A flaw was found in FFmpeg's HLS playlist parsing. Also affects ffmpeg
- CVE-2023-6602 A flaw was found in FFmpeg's TTY Demuxer. Also affects ffmpeg