SecurityContext

CVE-2026-125204: FFmpeg - Heap Buffer Overflow

  • Cve: CVE-2026-125204
  • Name: FFmpeg - Heap Buffer Overflow
  • Description: FFmpeg through 9.0.2 contains a heap buffer overflow in ff_libwebp_get_frame() in libwebpenc_common.c that lets attackers corrupt memory when cr_threshold is set. Attackers can supply crafted media that increases resolution mid-stream, causing memcpy() to write pixel data past the stale reference frame and crash applications.
  • Impact: Attackers can corrupt heap memory, potentially crashing applications or enabling code execution.
  • Remediation: Update to the latest version of FFmpeg.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: data_tampering, denial_of_service
  • Requirements: cr_threshold must be set
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00143
  • Epss percentile: 0.03552
  • Assignee: [email protected]
  • Published at: 2026-11-09T19:16:56Z
  • Age in days: 15
  • Modified at: 2026-11-10T21:46:37Z
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-125204
  • Nvd status: undergoing_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-122Heap-based Buffer Overflow

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25682
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/libwebpenc_common.c#L230
https://github.com/FFmpeg/FFmpeg/commit/9b99973b2bbecee0b7e1e57035b95498b42f54a6
https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-in-libwebp-encoder-conditional-replenishment

Products

ProductAffectedPlatform boundSourcesUrl
ffmpeg:ffmpeg<= 9.0.2nocna/v1/products/ffmpeg/ffmpeg

Projects

RepositoryLink kindsIndexedUrl
FFmpeg/FFmpegcommit, fixyes/v1/repositories/FFmpeg/FFmpeg

Index

  • Repositories: 661
  • Repositories high signal: 366
  • Checked, none or zero: packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts