[ CVE-2026-125218 · Published 9 Nov 2026 ]

Vulnerability in FFmpeg

CVSS 7.0 1 agency advisory Vendor advisory

[ Description ]Official 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.

[ Fixes ]How to fix it

Vendor advisories and patches

[ Advisories ]Government CERT advisories

  • BSI CERT-BundWID-SEC-2026-4419

    ffmpeg: Multiple vulnerabilities Translated from German

    Risk mediumCVE-2026-125069CVE-2026-125102CVE-2026-125250+118 more CVEs