CVE-2024-35366

FFmpeg n6.1.1 is Integer Overflow

Critical · published November 29, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
50.4
In the wild
Unconfirmed
What it is

🚨 An integer overflow flaw in FFmpeg could let attackers slip in negative values like sneaky ghosts at a party! 🔥 Think of the parse_options function as a restaurant that misinterprets a customer’s negative review as a positive one. Instead of gracefully rejecting an inappropriate dish, they serve it up without checking for quality, risking the whole menu! This oversight could lead to unexpected behaviors during media processing, potentially crashing the application or allowing for malicious code execution. An attacker could manipulate the input options to disrupt services or exploit vulnerabilities, causing absolute chaos!

Put simply

Think of the parse_options function as a restaurant that misinterprets a customer’s negative review as a positive one. Instead of gracefully rejecting an inappropriate dish, they serve it up without checking for quality, risking the whole menu! CVE-2024-35366 arises from inadequate validation of user input in the parse_options function of sbgdec.c within the libavformat module, allowing negative duration values to pass through unchecked, leading to integer overflow issues.

What to do

This oversight could lead to unexpected behaviors during media processing, potentially crashing the application or allowing for malicious code execution. An attacker could manipulate the input options to disrupt services or exploit vulnerabilities, causing absolute chaos! Upgrade to FFmpeg version 6.1.2 or later to mitigate this vulnerability. Additionally, implement stricter input validation to ensure proper bounds checking on duration inputs. Regularly audit and review your application for similar vulnerabilities. You've got this! By following these steps, you'll help keep your media processing secure and your users safe! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00647 · 50.4th percentile
Published
2024-11-29T00:00Z
EPSS history
Timeline
  • 29 NOV 00:00Z
    FFmpeg n6.1.1 is Integer Overflow
    cvelistv5