cvelo
P2 · HighCVSS 7.0

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

  • CVE-2026-125218
  • GHSA-hp56-qgqc-859j
  • EUVD-2026-120307

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.

Text from the CVE.org record.

Affected

  • ffmpeg

    • up to 9.0.2

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.