CRITICAL🇵🇱 Wersja polska

CVE-2024-35366

CVSS 9.1v3.1pub. 2024-11-29upd. 2025-06-03

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.

🤖 AI Analysis
How it works

The parse_options function in sbgdec.c file does not perform adequate validation of input data when processing SBG format options. Due to lack of bounds checking, it is possible to pass negative duration values, leading to integer overflow (CWE-190). This error can result in unpredictable application behavior, including memory corruption or incorrect file processing logic.

Impact

An attacker can compromise the integrity of processed data and cause application crashes (denial of service). The network vector without authentication requirement makes this vulnerability particularly dangerous in environments processing unverified media files.

Mitigation & patch

Patches available from the vendor should be applied according to references — a fix is available in the FFmpeg repository under commit 0bed22d597b78999151e3bde0768b7fe763fc2a6. It is recommended to update to a version containing this patch and avoid processing untrusted SBG files until the patch is deployed.

Who is affected

FFmpeg version n6.1.1 (parse_options function in libavformat/sbgdec.c)

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Ffmpeg

    APP
    Ffmpeg
    6.1.1
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2024-35368CRITICAL9.8PL ✓same product

Double Free w FFmpeg — podatność w dekoderze RKMPP (libavcodec)

CVE-2024-35367CRITICAL9.1PL ✓same product

FFmpeg: Out-of-bounds Read w dekoderze VP8 na architekturze PowerPC (AltiVec)

CVE-2024-31581CRITICAL9.8PL ✓same product

FFmpeg: nieprawidłowa walidacja indeksu tablicy w dekodowaniu H.266

CVE-2024-22862CRITICAL9.8PL ✓same product

Integer overflow w FFmpeg — RCE przez parser JPEG XL

CVE-2024-22860CRITICAL9.8PL ✓same product

Integer overflow w FFmpeg — RCE przez dekoder animacji JPEG XL