CVE-2024-35366 Integer overflow in n/a

Critical 9.1 Published Updated

An integer overflow in FFmpeg's sbgdec.c allows negative duration values, potentially causing denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-35366?

CVE-2024-35366 is a critical vulnerability in Ffmpeg Ffmpeg, published on 29 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-190

Which versions are affected by CVE-2024-35366?

It affects 1 product.

Products include Ffmpeg Ffmpeg.

How do I fix CVE-2024-35366?

Upgrade to a fixed version.

Is CVE-2024-35366 being exploited?

There is no known exploitation of CVE-2024-35366 in the wild and no public exploit code.

All Ffmpeg Ffmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-35366, GHSA-gq96-59xw-28wj, JLSEC-2025-140, UBUNTU-CVE-2024-35366.

Is CVE-2024-35366 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free