freenode

← CVE tracker

CVE-2026-125218

FFmpeg through 9.0.2 APNG Encoder Heap Buffer Overflow via encode_apng()

Severity
high CVSS 7.3 (v4.0)
Affects
FFmpeg
Weakness
CWE-122: Heap-based Buffer Overflow
Published
9 November 2026 by VulnCheck
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.