StraitOfVuln
Latest / CVE-2026-125250

CVE-2026-125250

HighCVSS 7.8 (v3.1)Analyzed
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-125250
Published / updated
09 Nov 2026, 19:17 UTC · last modified 30 Nov 2026, 16:22 UTC
Severity
HIGH
CVSS score
7.8 · v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H · Attack vector: Local
Affected vendor
Affected products
Ffmpeg
Affected versions
Ffmpeg: ≤ 9.0.2
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.18% probability of exploitation in the next 30 days · 7% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
disclosure@vulncheck.com