CVE-2026-125196 PUBLISHED

FFmpeg through 9.0.2 Heap Buffer Overflow via liboapv APV Encoder Wrapper

Assigner: VulnCheck
Reserved: 09.11.2026 Published: 09.11.2026 Updated: 09.11.2026

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.

Metrics

CVSS 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
CVSS Score: 7.3

Product Status

Vendor FFmpeg
Product FFmpeg
Versions Default: unaffected
  • affected from 8.0 to 9.0.2 (incl.)

Credits

  • Joshua Rogers (AISLE Research) finder
  • Michael Niedermayer remediation developer

References

Problem Types

  • Heap-based Buffer Overflow CWE