CVE-2026-125218
7.3high
FFmpeg through 9.0.2 APNG Encoder Heap Buffer Overflow via encode_apng()
- Severity
- 7.3high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in the APNG encoder's encode_apng() function in libavcodec/pngenc.c when frame size changes mid-stream. Attackers can supply crafted media whose resolution grows mid-stream, causing APNG_DISPOSE_OP_BACKGROUND memset writes past prev_frame and crashing or corrupting heap memory in transcoding applications.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FFmpeg FFmpeg | up to 9.0.2 | CVE List, NVD |
All scores
| VulnCheck | 7.3high CVSS:4.0 | 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 |
| VulnCheck | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-125218 changed 2026-11-13 | CVE Terms of Use |
| NVD | CVE-2026-125218 changed 2026-11-30 | Public domain |