# CVE-2026-75142: FFmpeg Stack Buffer Overflow in MPEG-PS Muxer via mpegenc.c

- 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-08-19 · Modified: 2026-10-27
- Aliases: UBUNTU-CVE-2026-75142, DEBIAN-CVE-2026-75142, CGA-5xf6-j2g4-qxqm, CGA-6j3v-fj6x-h2fj, CGA-8jrr-vh7v-x54m, CGA-8vc5-c4w9-q895, CGA-fgrp-3j3x-769g, CGA-fw45-qcjv-j8px, CGA-mjqj-f36r-7p3q, CGA-pqwx-v545-2qvr, CGA-pr24-9596-xv8m, CGA-wj68-gfmp-3qc9, CGA-268g-m89w-6wr7, CGA-2xrg-p2jj-73mc, CGA-3f6g-5pxp-r3m3, CGA-3f8v-c56v-629p, CGA-3j4h-r8xr-33gm, CGA-4q9r-3c8f-jxvh, CGA-594h-3r56-hvx3, CGA-5pcf-vqm2-rx9f, CGA-6rp6-hhqj-c4r6, CGA-7848-xfmc-h9hr, CGA-9m4m-qj35-7vw6, CGA-ccjg-mfw6-4wv2, CGA-crv4-jg77-q2xg, CGA-f836-37cw-3m7p, CGA-fc9f-5fmm-98qw, CGA-g9h8-gg9m-hjcc, CGA-ghw9-x65q-f34r, CGA-hgmm-7vw9-whv6, CGA-j72q-wxmw-8wvr, CGA-jqxm-3hpj-vcjj, CGA-m8fh-6cm6-xgcv, CGA-qpp9-27xq-c568, CGA-r8rc-fw57-jp7m, CGA-rc3r-9qp5-8r88, CGA-v4m9-x3g4-6ghx, CGA-v8vw-hpc2-pf3w, CGA-vqpw-m492-r76v, CGA-w8hw-qwh2-rq63
- Record: https://cvemate.com/vulnerability/CVE-2026-75142 · JSON: https://cvemate.com/vulnerability/CVE-2026-75142/json

## Description

```text
FFmpeg before commit 9d786e4 contains a stack buffer overflow in the MPEG-PS muxer (libavformat/mpegenc.c). When muxing input with more streams than the muxer's fixed-size stack buffer accommodates, the buffer is overflowed. A crafted input with an excessive number of streams triggers the overflow during MPEG-PS muxing.
```

## 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.138%, percentile 3.339%, 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 28)

- chainguard eco-python-ffmpeg-6-minimal (Chainguard): \< 6.1.6-r3
- chainguard eco-python-ffmpeg-6-minimal-dev (Chainguard): \< 6.1.6-r3
- chainguard eco-python-ffmpeg-6-minimal-static (Chainguard): \< 6.1.6-r3
- chainguard eco-python-ffmpeg-7-minimal (Chainguard): \< 7.1.5-r2
- chainguard eco-python-ffmpeg-7-minimal-dev (Chainguard): \< 7.1.5-r2
- chainguard eco-python-ffmpeg-7-minimal-static (Chainguard): \< 7.1.5-r2
- chainguard eco-python-ffmpeg-8-minimal (Chainguard): \< 8.1.3-r1
- chainguard eco-python-ffmpeg-8-minimal-dev (Chainguard): \< 8.1.3-r1
- chainguard eco-python-ffmpeg-8-minimal-static (Chainguard): \< 8.1.3-r1
- chainguard ffmpeg-6 (Chainguard): \< 6.1.6-r5
- chainguard ffmpeg-7 (Chainguard): \< 7.1.5-r3
- chainguard ffmpeg-7.1 (Chainguard): \< 7.1.5-r4
- chainguard ffmpeg-8.0 (Chainguard): \< 8.0.3-r4
- chainguard ffmpeg-8.1 (Chainguard): \< 8.1.3-r0
- chainguard ffmpeg-9.0 (Chainguard): \< 9.0.1-r0
- chainguard torchaudio-ffmpeg-tarballs (Chainguard): \< 1-r2
- chainguard torchaudio-ffmpeg-tarballs-4.4.4 (Chainguard): \< 1-r2
- chainguard torchaudio-ffmpeg-tarballs-5.0.3 (Chainguard): \< 1-r2
- chainguard torchaudio-ffmpeg-tarballs-6.0 (Chainguard): \< 1-r2
- wolfi ffmpeg-7 (Wolfi): \< 7.1.5-r3

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24087>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/9d786e4b5e9b8482651928574de33772aeee7be1>
- <https://www.vulncheck.com/advisories/ffmpeg-stack-buffer-overflow-in-mpeg-ps-muxer-via-mpegenc-c>
- <https://ubuntu.com/security/CVE-2026-75142>
- <https://www.cve.org/CVERecord?id=CVE-2026-75142>
- <https://ubuntu.com/security/notices/USN-8716-1>
- <https://ubuntu.com/security/notices/USN-8716-2>
- <https://security-tracker.debian.org/tracker/CVE-2026-75142>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75142.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-75142>

---

Data as of 2026-12-05T04:20:15.599Z. 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
