CVE-2023-50009
High · 8.0CVSS
8.0
EPSS
0.4%
Published
Apr 19, 2024
CISA due date
—
Cloudanix analysis
A flaw in a popular video processing tool can let someone who already has access to the computer run their own programs without permission.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in ff_gaussian_blur_8 within libavfilter/edge_template.c allows local attacker to execute arbitrary code.
Why it matters to the business
Systems using FFmpeg for video processing face risk of local code execution leading to system compromise; prevalence across media pipelines increases exposure surface.
How an attack unfolds
A local attacker supplies crafted input that triggers the vulnerable gaussian blur function during edge template processing in FFmpeg, overflowing the buffer to hijack control flow and run attacker-supplied code.
How to fix it
Upgrade org/ffmpeg.git to commit 083443d67cb159ce469e5d902346b8d0c2cd1c93 or ffmpeg/ffmpeg to commit 162b4c60c8f72be2e93b759f3b1e14652b70b3ba; rebuild and redeploy all affected binaries.
How to confirm the fix worked
Confirm FFmpeg version reports a fixed commit hash; run regression tests exercising edge_template.c filters on sample media; monitor for absence of crashes in blur operations.
Typical attack path
- Identify FFmpeg invocation that uses edge detection filters
- Prepare malicious media file triggering ff_gaussian_blur_8
- Execute FFmpeg locally with the crafted input
- Achieve arbitrary code execution via buffer overflow
How to detect it
Review process execution logs for FFmpeg invocations involving edge filters; inspect core dumps or crash reports referencing libavfilter/edge_template.c; search application logs for abnormal termination during gaussian blur operations.
What your security team should do
- Apply the listed commit fixes immediately across all FFmpeg deployments
- Inventory media processing pipelines for FFmpeg usage
- Restrict local execution privileges on systems running FFmpeg
- Monitor EPSS and exploit maturity for any future changes
The record
Buffer Overflow vulnerability in Ffmpeg v.n6.1-3-g466799d4f5 allows a local attacker to execute arbitrary code via the ff_gaussian_blur_8 function in libavfilter/edge_template.c:116:5 component.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Chainguard | ffmpeg-6 | 0 | 0 |
| Chainguard | ffmpeg-6-dev | 0 | 0 |
| Chainguard | ffmpeg-6-doc | 0 | 0 |
| Chainguard | ffmpeg-6-libavcodec61 | 0 | 0 |
| Chainguard | ffmpeg-6-libavdevice61 | 0 | 0 |
| Chainguard | ffmpeg-6-libavfilter10 | 0 | 0 |
| Chainguard | ffmpeg-6-libavformat61 | 0 | 0 |
| Chainguard | ffmpeg-6-libavutil59 | 0 | 0 |
| Chainguard | ffmpeg-6-libpostproc58 | 0 | 0 |
| Chainguard | ffmpeg-6-libswresample5 | 0 | 0 |
| Chainguard | ffmpeg-6-libswscale8 | 0 | 0 |
| Chainguard | ffmpeg-6-qt-faststart | 0 | 0 |
| Chainguard | ffmpeg-6-static | 0 | 0 |
| Debian:13 | ffmpeg | 0 | 7:7.0.1-3 |
| Debian:14 | ffmpeg | 0 | 7:7.0.1-3 |
| Ubuntu:23.10 | ffmpeg | 0 | 7:6.0-6ubuntu1.1 |
| Ubuntu:Pro:14.04:LTS | libav | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ffmpeg | 0 | 7:2.8.17-0ubuntu0.1+esm7 |
| Ubuntu:Pro:18.04:LTS | ffmpeg | 0 | 7:3.4.11-0ubuntu0.1+esm5 |
| Ubuntu:Pro:20.04:LTS | ffmpeg | 0 | 7:4.2.7-0ubuntu0.1+esm5 |
| Ubuntu:Pro:22.04:LTS | ffmpeg | 0 | 7:4.4.2-0ubuntu0.22.04.1+esm4 |
| Ubuntu:Pro:24.04:LTS | ffmpeg | 0 | 7:6.1.1-3ubuntu5+esm1 |
| openSUSE:Tumbleweed | ffmpeg-5 | 0 | 5.1.4-7.1 |
Related vulnerabilities
- CVE-2025-0518 Unchecked Return Value, Out-of-bounds Read vulnerability in FFmpeg allows Read Sensitive… Also affects ffmpeg-6
- CVE-2023-51794 Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to… Also affects ffmpeg-6
- CVE-2023-51793 Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to… Also affects ffmpeg-6
- CVE-2023-51796 Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to… Also affects ffmpeg-6
- CVE-2023-51798 Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to… Also affects ffmpeg-6
- CVE-2023-51791 Buffer Overflow vulenrability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to… Also affects ffmpeg-6
- CVE-2023-51795 Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to… Also affects ffmpeg-6
- CVE-2023-50010 Buffer Overflow vulnerability in Ffmpeg v.n6.1-3-g466799d4f5 allows a local attacker to… Also affects ffmpeg-6