Description
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in liboapve_encode() in libavcodec/liboapvenc.c that allows attackers to corrupt heap memory by supplying frames larger than the configured encoder dimensions. Attackers can craft videos whose resolution changes mid-stream so that transcoding to APV without rescaling writes attacker-controlled pixel data past the imgb plane buffers.
Published: 2026-11-09
Score: 7.3 High
EPSS: n/a
KEV: No
Impact: Arbitrary memory corruption via heap buffer overflow
Action: Patch
AI Analysis

Impact

FFmpeg contains a heap buffer overflow in the liboapv APV encoder wrapper that allows an attacker to corrupt heap memory by supplying video frames larger than the configured encoder dimensions. This overflow occurs when transcoding frames without rescaling, causing attacker‑controlled pixel data to be written past the image plane buffers. The flaw is identified as a CWE‑122 and can lead to memory corruption, which may result in denial of service or, in worst‑case scenarios, arbitrary code execution if the corrupted state can be harnessed.

Affected Systems

FFmpeg libraries version 9.0.2 and earlier with the liboapv APV encoder wrapper are affected. All systems that process media using these FFmpeg builds in transcoding pipelines are exposed regardless of operating system or platform.

Risk and Exploitability

The CVSS base score of 7.3 categorizes the vulnerability as high severity, though the EPSS score is not available and the CVE is not listed in the CISA KEV catalog, indicating no known widespread exploitation yet. Attackers can exploit the flaw by crafting a video stream whose resolution changes mid‑stream; the transcoder then writes out‑of‑bounds data while processing oversized frames. The likely attack vector is an externally supplied media file or a compromised media source that the victim's system is compelled to process.

Generated by OpenCVE AI on November 9, 2026 at 22:07 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to 9.0.3 or later, where the heap overflow fix has been applied.
  • Validate frame dimensions against encoder settings, rejecting or warning when incoming frames exceed the configured width or height.
  • Recompile FFmpeg with additional hardening such as stack protection and buffer‑of‑store checks to mitigate residual memory corruption risk.

Generated by OpenCVE AI on November 9, 2026 at 22:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
Description FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in liboapve_encode() in libavcodec/liboapvenc.c that allows attackers to corrupt heap memory by supplying frames larger than the configured encoder dimensions. Attackers can craft videos whose resolution changes mid-stream so that transcoding to APV without rescaling writes attacker-controlled pixel data past the imgb plane buffers.
Title FFmpeg through 9.0.2 Heap Buffer Overflow via liboapv APV Encoder Wrapper
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-122
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T19:11:17.254Z

Reserved: 2026-11-09T18:15:10.625Z

Link: CVE-2026-125196

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T19:16:55.673

Modified: 2026-11-09T19:16:55.673

Link: CVE-2026-125196

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T22:45:07Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow