# CVE-2026-125267: FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Out-of-Bounds Write via APAC Decoder

- 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-09 · Modified: 2026-11-10
- Aliases: UBUNTU-CVE-2026-125267, DEBIAN-CVE-2026-125267, CGA-45cv-628w-j2cj, CGA-2r56-gv75-wxhr, CGA-6xvh-86vm-5xfx, CGA-9wph-hxmp-72j6, CGA-fv62-fw83-6w9r, CGA-fw6c-rqh4-hjc9, CGA-g63v-fw4h-gj89, CGA-hchc-jg34-595h, CGA-wphm-6wm2-86c3, CGA-2f24-6839-r7w5, CGA-2pgh-hgw5-4rhv, CGA-2pvq-82cx-q7jx, CGA-2xcg-79hr-f468, CGA-7p8g-55wp-83j9, CGA-9w8j-73qj-8vwv, CGA-9xx6-82q5-rh3w, CGA-ff4r-qphq-hxrh, CGA-h7qw-29w7-2cj8, CGA-p3rf-fhcv-fwp6, CGA-434g-vm4v-v7gp, CGA-445c-h9vh-r4gg, CGA-4gjr-jrvp-37f7, CGA-4m9x-r9mp-3r6q, CGA-4rhc-p6jr-82ww, CGA-585x-hrx8-9326, CGA-5h2x-562g-hh28, CGA-5hqg-rrp7-qmp4, CGA-62jq-43jg-h3vq, CGA-62m6-h9m5-qvw7, CGA-6xmw-8fqr-88gw, CGA-753f-8qfq-8vp4, CGA-78q8-q4wp-6gq6, CGA-82fq-v39j-h582, CGA-866j-pj8w-v63v, CGA-8vwp-5mg8-qxmm, CGA-8wvm-rq67-3p9g, CGA-cc2w-84mr-8f8m, CGA-cv6q-2j8h-mm5h, CGA-f7f7-h82p-mh3m, CGA-fx5q-fpjq-7wgh, CGA-hfvc-7v52-v427, CGA-hgfp-ff7p-63mv, CGA-hgxp-83jr-cgxf, CGA-hpfq-xc9f-4c2g, CGA-hrhh-97cg-r5v8, CGA-mf9h-qxpc-rrv7, CGA-mpfh-j2hp-r486, CGA-p2fm-q2q5-jq33, CGA-pq4r-qgjh-6qgv, CGA-prgh-gq79-vv3x, CGA-qxcx-m2cw-mhjx, CGA-r78c-5qxr-g8m4, CGA-rf78-rgm6-wwrp, CGA-rvw5-jxmh-hf5q, CGA-v4q7-9x7v-48gm, CGA-vj9c-3j9c-9cw4, CGA-wh7x-85vj-xjqq, CGA-x542-jq6x-7jgh, CGA-xw44-2wrj-xqjx, CGA-28vh-ccg7-f3wj, CGA-3mx6-r67r-hxgg, CGA-42v8-873f-9g37, CGA-54xj-89j4-3h64, CGA-f9m7-hrqm-c46x, CGA-hrq4-3q64-93g8, CGA-vmp5-5p2w-g324, CGA-393f-h8xp-v8r9, CGA-3cc6-3vjf-vw4c, CGA-5234-xfg5-2p27
- Record: https://cvemate.com/vulnerability/CVE-2026-125267 · JSON: https://cvemate.com/vulnerability/CVE-2026-125267/json

## Description

```text
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap out-of-bounds write vulnerability in the APAC decoder in libavcodec/apac.c caused by an unreset bitstream index. Attackers can supply a crafted APAC file whose growing bitstream_index triggers an integer overflow, bypassing the reallocation check so memcpy() corrupts heap memory or crashes the application.
```

## 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.173%, percentile 6.92%, 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 41)

- 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 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-fips-7.1 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-dev (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libavcodec61 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libavdevice61 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libavfilter10 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libavformat61 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libavutil59 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libpostproc58 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libswresample5 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1-libswscale8 (Chainguard): All versions (No fix recorded)

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24432>
- <https://github.com/FFmpeg/FFmpeg/commit/e15ddb7f9a2f9b3ab8ac305efb6f94ddc18463d0>
- <https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/apac.c#L146>
- <https://github.com/FFmpeg/FFmpeg>
- <https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-out-of-bounds-write-via-apac-decoder>
- <https://ubuntu.com/security/CVE-2026-125267>
- <https://www.cve.org/CVERecord?id=CVE-2026-125267>
- <https://security-tracker.debian.org/tracker/CVE-2026-125267>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125267.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-125267>

---

Data as of 2026-12-05T06:27:13.455Z. 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
