Bug 2570492 (CVE-2026-125218) - CVE-2026-125218 ffmpeg: ffmpeg: Arbitrary code execution via mid-stream resolution changes in APNG encoder
Summary: CVE-2026-125218 ffmpeg: ffmpeg: Arbitrary code execution via mid-stream resol...
Keywords:
Status: NEW
Alias: CVE-2026-125218
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-10 20:02 UTC by OSIDB Bzimport
Modified: 2026-11-10 22:46 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-10 20:02:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.