{"schemaVersion":3,"id":"CVE-2024-35366","aliases":["UBUNTU-CVE-2024-35366","DEBIAN-CVE-2024-35366"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-11-29T00:00:00.000Z","modified":"2024-12-03T14:11:35.604Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00647,"percentile":0.50094,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00647},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00647,"percentile":0.50094}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00647,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00647,"percentile":0.50094}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"debian","product":"ffmpeg","name":"ffmpeg","label":"ffmpeg","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ffmpeg","purlType":"deb","versions":[{"text":"< 7:5.1.5-0+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 7:7.0.1-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:5.1.5-0+deb12u1 | < 7:7.0.1-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ffmpeg","name":"ffmpeg","label":"ffmpeg","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ffmpeg","purlType":"deb","versions":[{"text":"< 7:2.8.17-0ubuntu0.1+esm12","noFixRecorded":false,"fixedIn":null},{"text":"< 7:3.4.11-0ubuntu0.1+esm10","noFixRecorded":false,"fixedIn":null},{"text":"< 7:4.2.7-0ubuntu0.1+esm10","noFixRecorded":false,"fixedIn":null},{"text":"< 7:4.4.2-0ubuntu0.22.04.1+esm9","noFixRecorded":false,"fixedIn":null},{"text":"< 7:6.1.1-3ubuntu5+esm5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:2.8.17-0ubuntu0.1+esm12 | < 7:3.4.11-0ubuntu0.1+esm10 | < 7:4.2.7-0ubuntu0.1+esm10 | < 7:4.4.2-0ubuntu0.22.04.1+esm9 | < 7:6.1.1-3ubuntu5+esm5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libav","name":"libav","label":"libav","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libav","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ffmpeg","product":"ffmpeg","name":"ffmpeg","label":"ffmpeg","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"6.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.1.1","eol":{"isEol":false,"eolDate":null,"matchMethod":"cpe","cycle":{"name":"6.1","label":"6.1 'Heaviside'","eolFrom":null,"isLts":false,"isMaintained":true,"latestVersion":"6.1.6"},"product":{"name":"ffmpeg","label":"FFmpeg","category":"framework"}},"hubHref":"/vendor/ffmpeg/ffmpeg"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/ffmpeg/ffmpeg/commit/0bed22d597b78999151e3bde0768b7fe763fc2a6","label":"github.com/ffmpeg/ffmpeg/commit/0bed22d597b78999151e3bde0768b7fe763fc2a6","hostname":"github.com","tags":["REPORT","Patch"]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavformat/sbgdec.c#L389","label":"github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavformat/sbgdec.c","hostname":"github.com","tags":["REPORT","Product"]},{"url":"https://gist.github.com/1047524396/1e72f170d58c2547ebd4db4cdf6cfabf","label":"gist.github.com/1047524396/1e72f170d58c2547ebd4db4cdf6cfabf","hostname":"gist.github.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-35366","label":"ubuntu.com/security/CVE-2024-35366","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-35366","label":"www.cve.org/CVERecord?id=CVE-2024-35366","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/2c82ab946b8722a3501069e346809288db69e858","label":"github.com/FFmpeg/FFmpeg/commit/2c82ab946b8722a3501069e346809288db69e858","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7823-1","label":"ubuntu.com/security/notices/USN-7823-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-35366","label":"security-tracker.debian.org/tracker/CVE-2024-35366","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5712-1","DSA-5721-1","OPENSUSE-SU-2026:10866-1","OPENSUSE-SU-2026:10867-1","OPENSUSE-SU-2026:21211-1","SUSE-SU-2026:2444-1","SUSE-SU-2026:2445-1","USN-7823-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10866-1","OPENSUSE-SU-2026:10867-1","OPENSUSE-SU-2026:21211-1","SUSE-SU-2026:2444-1","SUSE-SU-2026:2445-1","USN-7823-1"]},"timeline":[{"kind":"published","date":"2024-11-29T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-12-03T14:11:35.604Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:41:02.935Z","stale":false,"partial":false}}