# CVE-2026-135704: FFmpeg before 9.1 Uninitialized Heap Memory Disclosure via MXG Demuxer

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, 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-135704, UBUNTU-CVE-2026-135704, CGA-979w-xwgj-g4xc, CGA-cjfj-9wg2-5wqj, CGA-cmw4-75xr-g7x6, CGA-grp5-97xr-68p5, CGA-p46m-wccg-wh5v, CGA-pqp8-v89g-97c2, CGA-r7j8-hh3x-qqfc, CGA-vxp5-gpw8-qqqr, CGA-68fp-p4jw-5wcq, CGA-9xrj-gf6q-ffpm, CGA-fhv6-85qj-pc8p, CGA-jw2q-37g9-2g2v, CGA-vhgj-f5ww-w7cg, CGA-whg8-84r9-9qgx, CGA-2q92-f2m2-xpwg, CGA-2x6v-hhg5-g9xh, CGA-34q8-rgx4-wq58, CGA-39rw-gqcx-66mw, CGA-3f48-hxpw-qg45, CGA-3hwc-vh3w-vxxm, CGA-3v5c-8hr4-6frw, CGA-4458-w76x-q25f, CGA-4856-f595-8hc3, CGA-4x6p-qvg4-6m8f, CGA-5hfv-mhmm-8chf, CGA-5qxw-m7vw-v9cf, CGA-5vf2-7mcq-9m45, CGA-5xg4-vq95-734x, CGA-6427-qgjw-2f2w, CGA-67x2-c4h7-2ppf, CGA-6q6f-r9v5-jqj6, CGA-78jm-p2qj-37cx, CGA-7f8v-mxrr-x4h4, CGA-87w9-ww98-pcj7, CGA-882v-wqv5-2g3j, CGA-88qr-rv3j-387c, CGA-8f6h-2pq9-gpfg, CGA-8hvv-g4vp-xhr6, CGA-8pr3-hxgx-jcw4, CGA-9cq7-97p3-568j, CGA-c2gg-mvhm-527w, CGA-c342-8w5h-pvxq, CGA-c59h-vvgh-h35h, CGA-cg88-xf45-rv8m, CGA-f4m7-wghj-gp6m, CGA-f4x9-2j4v-jw4g, CGA-fwx8-pmc5-pjj8, CGA-g27r-5fhm-q4cw, CGA-g4v6-xrcr-7367, CGA-hfqq-vv8c-r2m3, CGA-hgx9-273p-f3g2, CGA-hj4f-m673-j5q2, CGA-hjh9-w82r-vf9g, CGA-hvq7-x957-c7q9, CGA-jh8h-779m-948r, CGA-jhr3-9gxg-xgm9, CGA-jr7h-jh36-74x4, CGA-mh9p-397g-4x49, CGA-mmjc-6qf9-mccj, CGA-mmm8-7jgm-j65w, CGA-mpp8-v924-qwwh, CGA-p2h2-8pwf-f3fc, CGA-p7qv-4c89-9jpg, CGA-pp82-qfhp-36mx, CGA-q277-fx4m-v3h8, CGA-qxf6-6788-3xfh, CGA-r7m9-77xm-395x, CGA-rwvh-xvxx-75c5, CGA-v4jm-wgqw-rf8f, CGA-v5qg-j6vm-h847, CGA-vc9w-5g2p-8v42, CGA-vx5v-34wj-ph22, CGA-w7ch-p2pp-jfvq, CGA-wcf9-gvfr-34fj, CGA-wm7r-584x-97g3, CGA-wprc-9rxg-j9fq, CGA-ww25-fvh7-cmm6, CGA-x84f-8c59-wf2j, CGA-xcjj-cr58-qjp8, CGA-xmh2-44c3-h87q, CGA-xq43-pqj8-f772, CGA-xq83-8x57-3hx6, CGA-8r9r-2xpr-4xhf, CGA-qvrv-6g55-prjw, CGA-2265-hq2w-qvhf, CGA-27r4-m5xj-r4pp, CGA-2qwh-6r5p-h87h, CGA-2x5m-x5mr-372v, CGA-3pjc-m6xp-4c8j, CGA-4fc8-cj95-798c, CGA-4wgx-pxxf-85jq, CGA-64h8-p272-cqp7, CGA-68x7-9965-64p3, CGA-6hf6-46cw-5h93, CGA-735j-f6vr-rwx9, CGA-83q7-hcwf-vvc7, CGA-83r8-84p6-q4pf, CGA-8p48-63gx-xg4v, CGA-8xxj-v96w-r53p, CGA-9f3q-px52-cr95, CGA-9x52-fh8c-4xff, CGA-c595-cq6h-qvp6, CGA-cx28-8rfv-cp3p, CGA-f63f-f2wx-qv7j, CGA-fc78-g8w2-qv34, CGA-gjh7-gv52-m7w4, CGA-gmvp-hj4j-2p6m, CGA-hhrh-mvrm-f6qq, CGA-hxfw-52h6-538f, CGA-j3xj-h5w6-w5r2, CGA-j832-vc8x-cj22, CGA-jm34-r437-j3j6, CGA-jw9h-fqgm-2w3m, CGA-m6xv-rgc4-jrxc, CGA-mj5m-6mcc-8pxj, CGA-p3gr-v5cv-wf66, CGA-pxqf-pcmv-fpcf, CGA-q5wf-g96c-pqjg, CGA-r553-gqc8-g4fx, CGA-rp37-6555-x5jg, CGA-rwhh-fhx6-2vqw, CGA-rx6r-3m66-mx5x, CGA-vcm2-fvh8-j32g, CGA-vww2-3p48-xmrq, CGA-w3r6-q42f-qrp3, CGA-wc2x-x3xr-j59h, CGA-x748-p396-2qrx, CGA-4hqj-8vvg-xmg6, CGA-8p5f-89vv-73x8, CGA-92x7-53f2-2gvm, CGA-h4q5-x2g3-g77r, CGA-hmf6-5j6j-hp68, CGA-q5fp-vrrh-p45m, CGA-rjhf-v7gx-h6x9, CGA-wqxh-prmp-f858, CGA-xmxc-vq4f-59hx, ALPINE-CVE-2026-135704
- Record: https://cvemate.com/vulnerability/CVE-2026-135704 · JSON: https://cvemate.com/vulnerability/CVE-2026-135704/json

## Description

```text
FFmpeg before 9.1 contains an information disclosure vulnerability in the MXG demuxer's mxg_read_packet() that allows attackers to leak uninitialized heap memory through truncated marker segments. Attackers can supply a crafted MXG file ending in a truncated APP13 segment with a large declared length, causing uninitialized heap contents to be emitted as audio packet payload, for example into remuxed output files.
```

## Signals

- CVSS: 4.8 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.346%, percentile 30.123%, 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 78)

- alpine ffmpeg (Alpine Linux): \< 8.1.4-r0
- chainguard eco-python-ffmpeg-6-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-6-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-6-minimal-static (Chainguard): All versions (No fix recorded)
- 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-7-minimal-static (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 eco-python-ffmpeg-8-minimal-static (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)

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24914>
- <https://github.com/FFmpeg/FFmpeg/commit/e0941f6abba868eff5cdad37eef422342c520e63>
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/mxg.c#L203>
- <https://github.com/FFmpeg/FFmpeg>
- <https://www.vulncheck.com/advisories/ffmpeg-before-9.1-uninitialized-heap-memory-disclosure-via-mxg-demuxer>
- <https://security-tracker.debian.org/tracker/CVE-2026-135704>
- <https://ubuntu.com/security/CVE-2026-135704>
- <https://www.cve.org/CVERecord?id=CVE-2026-135704>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/e0941f6abba868eff5cdad37eef422342c520e63>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135704.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-135704>
- <https://security.alpinelinux.org/vuln/CVE-2026-135704>

---

Data as of 2026-12-05T07:42:33.648Z. 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
