CVE-2026-125229: FFmpeg - Out-of-Bounds Memory Access
- Cve: CVE-2026-125229
- Name: FFmpeg - Out-of-Bounds Memory Access
- Description: FFmpeg through 9.0.2 contains an out-of-bounds memory access vulnerability in the encode_frame() function of libavcodec/huffyuvenc.c, because encode_init() never validates minimum frame dimensions for the median predictor. Attackers can supply a tiny video, such as a 2-pixel-wide or 1-2-pixel-tall frame, that causes negative sub_median_pred lengths and out-of-bounds reads and writes when transcoded to huffyuv or ffvhuff, crashing the encoder.
- Impact: Attackers can crash the encoder via out-of-bounds memory access, 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 must supply a crafted tiny video frame and have it transcoded to huffyuv or ffvhuff.
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00128
- Epss percentile: 0.02408
- Assignee: [email protected]
- Published at: 2026-11-09T19:17:00Z
- Age in days: 15
- Modified at: 2026-11-14T02:16:49Z
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-125229
- 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
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ffmpeg:ffmpeg | <= 9.0.2 | no | cna | /v1/products/ffmpeg/ffmpeg |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| FFmpeg/FFmpeg | commit, fix | yes | /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