CVE-2026-125250
Last modified
CVE-2026-125250 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. FFmpeg through 9.0.2 contains a heap buffer overflow in the GIF encoder's gif_image_write_image() in libavcodec/gif.c because shrunk_buf is sized from the first frame's linesize. Attackers can supply PAL8 video whose frame linesize grows mid-stream, causing remap_frame_to_palette() to write past shrunk_buf and corrupt the heap during GIF transcoding.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
FFmpeg through 9.0.2 contains a heap buffer overflow in the GIF encoder's gif_image_write_image() in libavcodec/gif.c because shrunk_buf is sized from the first frame's linesize. Attackers can supply PAL8 video whose frame linesize grows mid-stream, causing remap_frame_to_palette() to write past shrunk_buf and corrupt the heap during GIF transcoding.
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-125250?
How severe is CVE-2026-125250?
How do I fix CVE-2026-125250?
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-125245FFmpeg through 9.0.2 contains a memory leak vulnerability in…4.7
- CVE-2026-125246FFmpeg through 9.0.2 contains a denial of service vulnerabil…4.7
- CVE-2026-125247FFmpeg through 9.0.2 contains an integer overflow vulnerabil…3.3
- CVE-2026-125248FFmpeg 9.0 through 9.0.2 contains an integer overflow vulner…7
- CVE-2026-125249FFmpeg 7.1 through 9.0.2 contains an integer overflow in ff_…7
- CVE-2026-12525The Redux Framework WordPress plugin before 4.5.13 does not …8.8
- CVE-2026-125251FFmpeg through 9.0.2 contains an integer overflow vulnerabil…7
- CVE-2026-125252FFmpeg through 9.0.2 contains a memory leak vulnerability in…4.7
- CVE-2026-125253FFmpeg through 9.0.2 contains an integer overflow in cbs_vp9…5.3
- CVE-2026-125254FFmpeg through 9.0.2 contains a division by zero vulnerabili…5.5
- CVE-2026-125255FFmpeg through 9.0.2 contains a use after free vulnerability…5.3
- CVE-2026-125256FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
Are you affected by CVE-2026-125250?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
