# JLSEC-2026-1185: FFmpeg through 8.1.2, fixed in commit aafb5c6, contains a signed integer overflow vulnerability...

- Severity: High 7.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-07T13:27:45.313Z
- Modified: 2026-08-08T23:15:05.745Z
- Related: CVE-2026-66039, GHSA-84qc-6h9r-4w33, EUVD-2026-48741

## Description

FFmpeg through 8.1.2, fixed in commit aafb5c6, contains a signed integer overflow vulnerability in the MACE6 audio decoder that allows attackers to corrupt heap memory by supplying a crafted CAF file with a malicious `bytes_per_packet` value. Attackers can craft a CAF file with oversized `bytes_per_packet` and `frames_per_packet` values in the desc chunk to trigger an integer overflow in `mace_decode_frame()` during output sample count computation, resulting in an undersized buffer allocation and heap out-of-bounds write that could enable code execution.

(As written by Julia Security Advisories.)

## Affected

- FFMPEG_jll (Julia): before 9.0.0+0
- FFMPEG_nogpl_jll (Julia): before 9.0.0+0
- FFplay_jll (Julia): before 9.0.0+0

## Every score

- Julia Security Advisories: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/aafb5c655edc76a753275c383ebb139feb032718> (web)
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23631> (web)
- <https://github.com/advisories/GHSA-84qc-6h9r-4w33> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-66039> (web)
- <https://www.vulncheck.com/advisories/ffmpeg-mace6-audio-decoder-heap-out-of-bounds-write-via-caf-file> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1185](https://osv.dev/vulnerability/JLSEC-2026-1185), CC-BY-4.0, modified 2026-08-08

---

Page: https://cve.day/JLSEC-2026-1185 · Whole record: https://cve.day/JLSEC-2026-1185.json · Rebuilt by cve.day 2026-11-25T22:56:25.894Z
