CVE-2026-125218

High

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.

SeverityHigh
CVSS7.0
Exploit probability—
ProductFFmpeg
PublishedNov 9, 2026
First seenNov 9, 2026
Weakness typeCWE-122CWE-122

How to fix

Affected products

ProductAffected versionsFixed in
FFmpeg FFmpegv ≤ 9.0.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-125218 · FFmpeg · Vulnerabilities · Dark Radar