# CVE-2026-135740: FFmpeg before 9.1 Heap Out-of-Bounds Write via readeia608 Filter Histogram

- Priority: **Routine**
- Reason: Not severe (CVSS 8.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-24 · Modified: 2026-11-28
- Aliases: DEBIAN-CVE-2026-135740, UBUNTU-CVE-2026-135740, CGA-9px4-8qp5-3cjr, CGA-gx6h-5pj6-4625, CGA-jrr3-wg2j-2744, CGA-jwqg-8xfr-qm5r, CGA-m977-vjvj-859x, CGA-qfjm-q3mr-vc3x, CGA-9xjm-jm9x-g753, CGA-pxc4-g8c2-wq54, CGA-2h67-6854-qj5h, CGA-2hqm-c35h-6943, CGA-2q9w-79w5-w98v, CGA-2xq2-24vx-2xxr, CGA-47pj-6vpr-w9q2, CGA-4v7j-r4r5-m8jg, CGA-6w22-w4vm-frrg, CGA-8wjr-grh8-cf8f, CGA-8xc6-xmfm-jx3h, CGA-8xpw-c7px-fx5w, CGA-952x-mvpq-r8fp, CGA-cr87-3w89-r552, CGA-xvvj-6m68-xgh4, CGA-273g-x6mc-27f5, CGA-2w54-4c53-ghxw, CGA-44v5-gmqh-qqq3, CGA-4524-gqpq-jqw6, CGA-4mx2-65cm-p833, CGA-5w2h-3rfp-rg96, CGA-5w8p-f3x4-mqhf, CGA-5xmc-6j2r-x6vj, CGA-6mw7-rp37-wxwq, CGA-6qh4-v7fg-4657, CGA-7rv5-h564-9wj8, CGA-999j-rw4p-6rw4, CGA-cv95-99g7-9w8g, CGA-fx94-w32j-hw3m, CGA-r8rg-6g6h-33x4, CGA-rx6f-hqg8-52g3, CGA-xjj5-2v9v-8h76, CGA-2898-v859-q8xf, CGA-cphf-g4c6-4wmr, CGA-g2fm-v64v-hcm3, CGA-jmg3-8g35-xwwm, CGA-jpqq-rgq6-xj8j, CGA-x5fx-3qpv-88v5, CGA-9r94-m2h8-8vvp, CGA-jg2j-cc44-x5ch, CGA-phvr-c46h-j25q, CGA-55hg-qq6c-pm8v, CGA-6j8h-85pp-6935, CGA-863f-w2g6-3f4f, CGA-8r2p-2f6w-w3gg, CGA-c2vg-r6g2-qxwx, CGA-f383-q47r-6c25, CGA-gfrg-h6c3-vh56, CGA-j2h6-pjp6-xj4q, CGA-j2mw-7v4v-4j6f, CGA-j6gc-3652-q58p, CGA-p58g-fww6-5xmv, CGA-pg78-5c9r-rmmc, CGA-q9qg-3q25-3r8m, CGA-qq3f-xm45-cwqw, CGA-r2pv-qmw5-4mqj, CGA-rgc6-x7g6-w5xm, CGA-v785-fh79-cvvj, CGA-v7f5-ccrx-59wf, CGA-v8c3-2v7h-xh37, CGA-x5p3-wvxx-f482, CGA-xpmg-fcg2-xjg9, CGA-xppg-3jvw-rh8j, CGA-5c77-5pj5-3prw, CGA-xh37-f45f-7wfg, CGA-6p73-cccc-m4j5, CGA-79g2-97j5-xrfx, CGA-7pq2-4375-r3jp, CGA-7q94-f8gj-c82q, CGA-98jv-rh33-fxwf, CGA-f72h-46pv-89m5, CGA-ghrh-j35p-jvf2, CGA-hhxp-4q2m-mgwh, CGA-pq6m-7346-rqf4, CGA-v2p8-5xcm-qmf8, CGA-xqm7-5wq9-369f, CGA-33pm-xwc9-h46c, CGA-m62q-prv2-82q2, CGA-33g7-823r-3hhv, CGA-5354-m39r-r79w, CGA-5hvg-jwv9-qf8w, CGA-6452-x8wg-84hh, CGA-72fm-gvjh-m8px, CGA-893c-jfxp-j8gv, CGA-f595-wv75-6vpx, CGA-mv8h-22fv-6293, CGA-pm29-j96x-rggv, CGA-pp2v-9xm3-crwh, CGA-q2vw-33q3-79jp, CGA-qh9g-cfph-3cmv, CGA-rh54-29f5-h7m2, CGA-rpmc-47qf-ghj2, CGA-rrx6-fg36-gx7v, CGA-v5j5-q953-gwvv, CGA-w47m-mmq9-xchq, CGA-ww4m-29gh-rwj2, CGA-xqg9-f8jv-w3wv, CGA-35fc-w5j5-fv8w, CGA-fg4f-qg84-6x2f, CGA-hp7j-xmpx-x4f9, CGA-rp36-5mmx-whq4, CGA-wvxj-75q8-rvg8, CGA-x397-8853-whvg, CGA-x958-pqgr-82vf, CGA-9w28-rqmr-5hc7, CGA-75mf-fxcv-vm65, CGA-c8cm-jgfm-x6c7, CGA-h4xm-rcff-6x38, CGA-m5pc-v2hx-gr72, CGA-w3pw-h53g-jjmh, ALPINE-CVE-2026-135740
- Record: https://cvemate.com/vulnerability/CVE-2026-135740 · JSON: https://cvemate.com/vulnerability/CVE-2026-135740/json

## Description

```text
FFmpeg before 9.1 contains a heap out-of-bounds write vulnerability in libavfilter/vf_readeia608.c because build_histogram() does not clamp high bit depth luma samples to the nominal maximum. Attackers can supply crafted 9, 10, 12 or 14 bit gray or YUV video to corrupt heap memory, causing crashes or possibly code execution.
```

## Signals

- CVSS: 8.5 high (v4.0, CVE.org) 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
- EPSS: 0.396%, percentile 35.869%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 73)

- alpine ffmpeg (Alpine Linux): \< 8.1.4-r0
- chainguard eco-python-ffmpeg-7-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-8-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-8-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-6 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-7 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-7.1 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-8.0 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-8.1 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-9.0 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-8.1 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-8.1-dev (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-8.1-doc (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-8.1-static (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-9.0 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-9.0-dev (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-9.0-doc (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-cuda-fips-9.0-static (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1 (Chainguard): All versions (No fix recorded)

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121>
- <https://github.com/FFmpeg/FFmpeg/commit/df1ddf75db9a1ff36a35019511e17f795cf20c55>
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_readeia608.c#L176>
- <https://github.com/FFmpeg/FFmpeg>
- <https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-write-via-readeia608-filter-histogram>
- <https://security-tracker.debian.org/tracker/CVE-2026-135740>
- <https://ubuntu.com/security/CVE-2026-135740>
- <https://www.cve.org/CVERecord?id=CVE-2026-135740>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/df1ddf75db9a1ff36a35019511e17f795cf20c55>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135740.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-135740>
- <https://security.alpinelinux.org/vuln/CVE-2026-135740>

---

Data as of 2026-12-05T08:26:39.140Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
