{"id":"CVE-2026-125180","summary":"FFmpeg 8.1 through 9.0.2 EXIF Parser Memory Exhaustion via Overlapping Tags","details":"FFmpeg 8.1 through 9.0.2 contains a memory exhaustion vulnerability in the libavcodec/exif.c parser that allows attackers to amplify allocations by pointing many IFD entries at overlapping payloads. Attackers can embed a small crafted EXIF block in TIFF, JPEG, PNG or WebP images to trigger quadratic memory allocation, causing denial of service in decoding applications.","modified":"2026-11-26T21:00:23.218293531Z","published":"2026-11-09T19:11:06.185Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125180.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-770"]},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125180.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125180"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ffmpeg-8.1-through-9.0.2-exif-parser-memory-exhaustion-via-overlapping-tags"},{"type":"REPORT","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/30fff47764e59f02ac7868bb832ed51a88f949fd"},{"type":"PACKAGE","url":"https://github.com/FFmpeg/FFmpeg"},{"type":"ARTICLE","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/exif.c#L274"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.ffmpeg.org/ffmpeg.git","events":[{"introduced":"638b521c7b09e00514aa13ade43c389b4b40ddfd"},{"last_affected":"946fcce07b6dcd0331c8cc609192aeff5e1924f8"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","range":[{"introduced":"8.1"},{"last_affected":"9.0.2"}]}]}},{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"638b521c7b09e00514aa13ade43c389b4b40ddfd"},{"fixed":"30fff47764e59f02ac7868bb832ed51a88f949fd"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"8.1"},{"last_affected":"9.0.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*"},{"range":[{"fixed":"30fff47764e59f02ac7868bb832ed51a88f949fd"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["n9.0.2","n9.0.1","n9.0","n8.2-dev","n8.1-dev","n9.2-dev","n9.1-dev"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125180.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}