CVE-2022-2566CWE-122

Heap-memory write in FFMPEG

Critical · published September 23, 2022

CVSS v3.1
9.0
EPSS
1%
Percentile
56.6
In the wild
Unconfirmed
What it is

🔥 A heap out-of-bounds memory write in FFMPEG could have attackers executing code remotely just by sending a crafty MP4 file! Think of this like a restaurant where the chef mistakenly serves an order meant for a much bigger party — the result? A recipe for disaster if the kitchen isn’t careful! 🍽️ This vulnerability could allow an attacker to run malicious code on your system, potentially taking control of it. Imagine your video processing setup suddenly executing whatever the attacker wants, leading to data breaches or system interruptions. That's absolutely devastating!

Put simply

Think of this like a restaurant where the chef mistakenly serves an order meant for a much bigger party — the result? A recipe for disaster if the kitchen isn’t careful! 🍽️ The flaw occurs in the `build_open_gop_key_points()` function, where an integer overflow can happen due to improper size calculations. This leads to a small memory allocation that can be exploited when processing specially crafted MP4 files, enabling remote code execution.

What to do

This vulnerability could allow an attacker to run malicious code on your system, potentially taking control of it. Imagine your video processing setup suddenly executing whatever the attacker wants, leading to data breaches or system interruptions. That's absolutely devastating! Upgrade FFMPEG to a version past commit c953baa084607dd1d84c3bfcce3cf6a87c3e6e05 immediately to patch this vulnerability. It's critical to regularly check for updates on libraries you use, especially in open-source components. You've got this! By applying these updates, you can fortify your defenses against this sneaky vulnerability. 🛡️

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00813 · 56.6th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2022-09-23T11:10Z
EPSS history
Timeline
  • 23 SEP 11:10Z
    Heap-memory write in FFMPEG
    cvelistv5