CVE-2026-125218
Last modified
CVE-2026-125218 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | <= 9.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-125218?
How severe is CVE-2026-125218?
How do I fix CVE-2026-125218?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-125212FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
- CVE-2026-125213FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
- CVE-2026-125214FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
- CVE-2026-125215FFmpeg 7.1 through 9.0.2 contains a NULL pointer dereference…4.7
- CVE-2026-125216FFmpeg through 9.0.2 contains a NULL pointer dereference vul…5.5
- CVE-2026-125217FFmpeg through 9.0.2 contains an uninitialized memory use vu…3.3
- CVE-2026-125219FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
- CVE-2026-12522The HL7800 cellular modem driver's +CGCONTRDP: response hand…8.8
- CVE-2026-125220FFmpeg through 9.0.2 contains a deadlock vulnerability in mi…5.5
- CVE-2026-125221FFmpeg through 9.0.2 contains an uncontrolled recursion vuln…5.5
- CVE-2026-125222FFmpeg through 9.0.2 contains an integer overflow vulnerabil…7
- CVE-2026-125223FFmpeg 8.0 through 9.0.2 contains a memory leak vulnerabilit…4.7
Are you affected by CVE-2026-125218?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
