---
id: CVE-2026-125180
title: FFmpeg 8.1 through 9.0.2 EXIF Parser Memory Exhaustion via Overlapping Tags
summary: >-
  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 EX…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-770
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg >= 8.1 <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-09T21:03:32.437631Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T21:06:58.194Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125180'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/30fff47764e59f02ac7868bb832ed51a88f949fd
    label: Patch Commit
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/exif.c#L274'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-8.1-through-9.0.2-exif-parser-memory-exhaustion-via-overlapping-tags
    label: >-
      VulnCheck Advisory: FFmpeg 8.1 through 9.0.2 EXIF Parser Memory Exhaustion
      via Overlapping Tags
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.614Z'
---

## Overview

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.

## Affected

- `FFmpeg >= 8.1 <= 9.0.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
