Skip to main content
CVE-2026-125250VulnerabilityPublished

FFmpeg through 9.0.2 contains a heap buffer overflow in the GIF encoder's gif_image_write_image() in libavcodec/gif.c

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-125250· High 8.5

Not known to be exploited · CVSS 8.5 High.

Data as of 9 Nov 2026, 23:17 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
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

Users should monitor vendor advisories for updates and avoid processing untrusted PAL8 video streams with FFmpeg versions through 9.0.2 until a fix is released.

Description

FFmpeg versions through 9.0.2 have a heap buffer overflow vulnerability in the GIF encoder component. The flaw occurs in the gif_image_write_image() function within libavcodec/gif.c, where the buffer size is incorrectly calculated based on the first frame's linesize. If an attacker supplies PAL8 video with a frame linesize that increases mid-stream, it can cause a heap overflow during GIF transcoding.

References

Community reviews

Loading reviews…