CVE-2026-125218
JSON

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 packageVersionsReported by
FFmpeg FFmpegup to 9.0.2CVE List, NVD

All scores

VulnCheck7.3high CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-122

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-125218 changed 2026-11-13CVE Terms of Use
NVDCVE-2026-125218 changed 2026-11-30Public domain