Cloudanix VulnDB

CVE-2024-35366

None

CVSS

—

EPSS

0.6%

Published

Nov 29, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in video processing software can let specially made files cause crashes or bad results when the program tries to read certain audio setup information.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Other
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Integer overflow in parse_options of sbgdec.c allows negative duration values to bypass bounds checks, leading to incorrect memory allocations or calculations during SBG file parsing in libavformat.

Why it matters to the business

Media processing pipelines using FFmpeg may experience crashes, corrupted output, or unexpected behavior when handling certain input files, potentially disrupting content workflows and requiring emergency updates.

How an attack unfolds

An attacker crafts a malicious SBG file with specially chosen option values that produce negative durations; when FFmpeg parses the file via the affected function, the overflow occurs without validation, potentially triggering memory corruption or denial of service.

How to fix it

Update ffmpeg to the commit 0bed22d597b78999151e3bde0768b7fe763fc2a6 or later; rebuild affected applications against the patched version and validate all SBG parsing paths.

How to confirm the fix worked

Confirm the installed FFmpeg binary reports a build containing commit 0bed22d597b78999151e3bde0768b7fe763fc2a6; test parsing of sample SBG files with negative duration values to verify no overflow occurs.

Typical attack path

  1. Identify target systems processing SBG files with FFmpeg
  2. Generate malformed SBG input containing negative duration options
  3. Deliver the file through supported input channels such as local files or network streams
  4. Trigger parsing in libavformat to induce the integer overflow

How to detect it

Monitor application logs and crash reports for segmentation faults or assertion failures during SBG file parsing; review FFmpeg process invocations involving sbgdec.c for unexpected negative values or malformed option strings.

What your security team should do

  • Apply the patch to all FFmpeg deployments within 30 days
  • Inventory media processing services that accept untrusted SBG or related inputs
  • Add runtime checks or sandboxing around FFmpeg invocations until patched

The record

FFmpeg n6.1.1 is Integer Overflow. The vulnerability exists in the parse_options function of sbgdec.c within the libavformat module. When parsing certain options, the software does not adequately validate the input. This allows for negative duration values to be accepted without proper bounds checking.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 ffmpeg 0 No fix
Debian:12 ffmpeg 0 7:5.1.5-0+deb12u1
Debian:13 ffmpeg 0 7:7.0.1-3
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 No fix
Ubuntu:Pro:14.04:LTS libav 0 No fix
Ubuntu:Pro:16.04:LTS ffmpeg 0 No fix
Ubuntu:Pro:16.04:LTS ffmpeg 0 7:2.8.17-0ubuntu0.1+esm12
Ubuntu:Pro:18.04:LTS ffmpeg 0 No fix
Ubuntu:Pro:18.04:LTS ffmpeg 0 7:3.4.11-0ubuntu0.1+esm10
Ubuntu:Pro:20.04:LTS ffmpeg 0 No fix
Ubuntu:Pro:20.04:LTS ffmpeg 0 7:4.2.7-0ubuntu0.1+esm10
Ubuntu:Pro:22.04:LTS ffmpeg 0 7:4.4.2-0ubuntu0.22.04.1+esm9
Ubuntu:Pro:24.04:LTS ffmpeg 0 7:6.1.1-3ubuntu5+esm5
openSUSE:Leap 16.0 ffmpeg-7 0 7.1.4-160000.1.1
openSUSE:Tumbleweed ffmpeg-4 0 4.4.7-2.1
openSUSE:Tumbleweed ffmpeg-7 0 7.1.4-2.1

Related vulnerabilities