Skip to main content
VulnerabilityPublished

CVE-2026-125250: FFmpeg · Heap-based Buffer Overflow

Affects FFmpegSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.5 High · fixed in 9.0.2 : patch FFmpeg soon.

Data as of 9 Nov 2026, 19:32 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.5
CNA (VulnCheck)CVSS 3.17.8
Patch
Available – fixed in 9.0.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
FFmpegFFmpegAffected
  • <=9.0.2
Fixed in–
GitHubFFmpegpkg:github/FFmpegOther threatsAffected
  • <=9.0.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in versions after 9.0.2. Users should upgrade to a version later than 9.0.2 where this heap buffer overflow has been addressed. Until patched, avoid processing untrusted PAL8 video streams with FFmpeg's GIF encoder to mitigate risk.

Description

CVE-2026-125250 is a heap-based buffer overflow vulnerability in FFmpeg versions up to 9.0.2. It occurs in the GIF encoder's gif_image_write_image() function due to incorrect sizing of an internal buffer based on the first frame's linesize. Attackers can exploit this by providing PAL8 video with a frame linesize that increases mid-stream, leading to out-of-bounds writes and heap corruption during GIF transcoding.

References

Community reviews

Loading reviews…