CVE-2026-125196
High 7.8 P4 · Monitor (12/100)FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in liboapve_encode() in libavcodec/liboapvenc.c that allows attackers to…
Confirmed facts from the sources
- CVSS
- 7.8 (High) · CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by nvd@nist.gov - Exploitation confirmed
- Not in the CISA KEV catalog
- Exploitation estimated (EPSS)
- 0.21 % · percentile 6.6 % (as of 30.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation. - Public exploit
- No reference to a public exploit.
- Fix
- Fix available
- Monitored technologies
- No monitored technology
Description (source)
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.
Affected products and versions
| Vendor / product | Affected versions | Fixed in | Source |
|---|---|---|---|
| github: ffmpeg/ffmpeg | >= 8.0, <= 9.0.2 | — | nvd |
| ffmpeg ffmpeg | >= 8.0, <= 9.0.2 | — | nvd |
Versions as published. “Fixed in” only where a source names the version explicitly.
Recommended mitigation
- code.ffmpeg.org (Patch)
- github.com (Patch)
In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.
AI interpretation
No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.
Why this priority?: P4 · Monitor (12/100)
- Estimated exploitation probability 0.21 % (EPSS, percentile 6.6 %) – an estimate, not confirmation (+0)
- Technical severity: CVSS 7.8 (HIGH) – on its own not a reason for top priority (+12)
- Fix available – plan the update (+0)
Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.
Original advisories and links
- Advisory https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-liboapv… · disclosure@vulncheck.com
- Advisory https://nvd.nist.gov/vuln/detail/CVE-2026-125196 · nvd
- Patch https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25416 · disclosure@vulncheck.com
- Patch https://github.com/FFmpeg/FFmpeg/commit/87cdb6cd6a8d1ec201cb82b30e64d5f946939e23 · disclosure@vulncheck.com
- Reference https://github.com/FFmpeg/FFmpeg · disclosure@vulncheck.com
- Reference https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/liboapvenc.c#L578 · disclosure@vulncheck.com