{"id":"CVE-2024-35366","details":"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.","modified":"2026-08-18T17:26:58.199732Z","published":"2024-11-29T00:00:00Z","related":["SUSE-SU-2026:2444-1","SUSE-SU-2026:2445-1","openSUSE-SU-2026:10866-1","openSUSE-SU-2026:10867-1","openSUSE-SU-2026:20855-1","openSUSE-SU-2026:21211-1"],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35366.json"},"references":[{"type":"WEB","url":"https://gist.github.com/1047524396/1e72f170d58c2547ebd4db4cdf6cfabf"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavformat/sbgdec.c#L389"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35366.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35366"},{"type":"FIX","url":"https://github.com/ffmpeg/ffmpeg/commit/0bed22d597b78999151e3bde0768b7fe763fc2a6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.ffmpeg.org/ffmpeg.git","events":[{"introduced":"e38092ef9395d7049f871ef4d5411eb410e283e0"},{"last_affected":"e38092ef9395d7049f871ef4d5411eb410e283e0"}],"database_specific":{"cpe":"cpe:2.3:a:ffmpeg:ffmpeg:6.1.1:*:*:*:*:*:*:*","extracted_events":[{"introduced":"6.1.1"},{"last_affected":"6.1.1"}],"source":"CPE_STRING"}}],"versions":["6.1.1","n6.1.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35366.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"e38092ef9395d7049f871ef4d5411eb410e283e0"},{"fixed":"0bed22d597b78999151e3bde0768b7fe763fc2a6"}],"database_specific":{"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:ffmpeg:ffmpeg:6.1.1:*:*:*:*:*:*:*","extracted_events":[{"introduced":"6.1.1"},{"last_affected":"6.1.1"}]}}],"versions":["6.1.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35366.json","vanir_signatures_modified":"2026-08-18T17:26:58Z","vanir_signatures":[{"source":"https://github.com/ffmpeg/ffmpeg/commit/0bed22d597b78999151e3bde0768b7fe763fc2a6","target":{"file":"libavformat/sbgdec.c","function":"parse_options"},"deprecated":false,"digest":{"function_hash":"22562609604258463038096444423597051989","length":2877},"id":"CVE-2024-35366-00b20724","signature_type":"Function","signature_version":"v1"},{"signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/0bed22d597b78999151e3bde0768b7fe763fc2a6","target":{"file":"libavformat/sbgdec.c"},"deprecated":false,"digest":{"line_hashes":["141537758595555036889093361776447185869","69063527600185071227536225290439763357","252491313270400620317557992319576949124","102880583187953819654694895191133363315"],"threshold":0.9},"id":"CVE-2024-35366-46e68b9f","signature_type":"Line"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}