SecurityContext

CVE-2026-125261: FFmpeg - Out-of-Bounds Read

  • Cve: CVE-2026-125261
  • Name: FFmpeg - Out-of-Bounds Read
  • Description: FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in the SGI encoder's encode_frame() in libavcodec/sgienc.c, where unsigned size variables mis-handle negative linesize frames. Attackers can supply a video whose display matrix triggers autorotate vflip, so transcoding to SGI images reads pixel data far outside the frame and crashes the process.
  • Impact: Attackers can crash the FFmpeg process by supplying a crafted video, causing denial of service.
  • Remediation: Update to the latest version of FFmpeg.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to transcode a crafted video to SGI images
  • Labels source: securitycontext
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
  • Epss score: 0.00129
  • Epss percentile: 0.02525
  • Assignee: [email protected]
  • Published at: 2026-11-09T20:18:12Z
  • Age in days: 15
  • Modified at: 2026-11-14T03:17:25Z
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-125261
  • 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: hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/sgienc.c#L208
https://github.com/FFmpeg/FFmpeg/commit/c6e5b6105aa13f6b0df2a646da608078cfe52d79
https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-sgi-encoder-out-of-bounds-read-via-sgienc-c

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