{"schemaVersion":3,"id":"CVE-2020-21041","aliases":["UBUNTU-CVE-2020-21041","DEBIAN-CVE-2020-21041"],"status":"published","duplicateOf":null,"title":null,"description":"Buffer Overflow vulnerability exists in FFmpeg 4.1 via apng_do_inverse_blend in libavcodec/pngenc.c, which could let a remote malicious user cause a Denial of Service","dates":{"published":"2021-05-24T17:31:03.000Z","modified":"2024-08-04T14:22:25.473Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02068,"percentile":0.81146,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02068},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02068,"percentile":0.81146}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02068,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02068,"percentile":0.81146}]},"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":[{"id":"REF_B538B5390844ED79","name":"Exploit Reference (trac.ffmpeg.org)","source":"reference","url":"https://trac.ffmpeg.org/ticket/7989","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"debian","product":"ffmpeg","name":"ffmpeg","label":"ffmpeg","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ffmpeg","purlType":"deb","versions":[{"text":"< 7:4.3.2-0+deb11u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:4.3.2-0+deb11u2","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+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 7:3.4.11-0ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 7:4.2.7-0ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:2.8.17-0ubuntu0.1+esm1 | < 7:3.4.11-0ubuntu0.1 | < 7:4.2.7-0ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"ffmpeg","product":"ffmpeg","name":"ffmpeg","label":"ffmpeg","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.1","eol":{"isEol":true,"eolDate":"2024-07-21T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"4.1","label":"4.1 'al-Khwarizmi'","eolFrom":"2024-07-21T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"4.1.11"},"product":{"name":"ffmpeg","label":"FFmpeg","category":"framework"}},"hubHref":"/vendor/ffmpeg/ffmpeg"}],"affectedCount":4,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://trac.ffmpeg.org/ticket/7989","label":"trac.ffmpeg.org/ticket/7989","hostname":"trac.ffmpeg.org","tags":["X Refsource MISC","REPORT","Exploit","Patch","Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00018.html","label":"lists.debian.org/debian-lts-announce/2021/08/msg00018.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.debian.org/security/2021/dsa-4990","label":"www.debian.org/security/2021/dsa-4990","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-21041","label":"ubuntu.com/security/CVE-2020-21041","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=5d9f44da460f781a1604d537d0555b78e29438ba","label":"git.videolan.org?p=ffmpeg.git;a=commitdiff;h=5d9f44da460f781a1604d537d0555b78e29438ba","hostname":"git.videolan.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5472-1","label":"ubuntu.com/security/notices/USN-5472-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-21041","label":"www.cve.org/CVERecord?id=CVE-2020-21041","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5167-1","label":"ubuntu.com/security/notices/USN-5167-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-21041","label":"security-tracker.debian.org/tracker/CVE-2020-21041","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2742-1","DSA-4990-1","MGASA-2021-0495","OPENSUSE-SU-2021:2322-1","SUSE-SU-2021:2322-1","SUSE-SU-2021:2929-1","USN-5167-1","USN-5472-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:2322-1","SUSE-SU-2021:2322-1","SUSE-SU-2021:2929-1","USN-5167-1","USN-5472-1"]},"timeline":[{"kind":"published","date":"2021-05-24T17:31:03.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T14:22:25.473Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:23:12.920Z","stale":false,"partial":false}}