---
title: "CVE-2026-66039"
canonical_url: "https://pkgseek.com/security/CVE-2026-66039"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-66039

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.

CVE-2026-66039 is rated HIGH (7.8), with 24 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.8)
- **Affected builds**: 24
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | ffmpeg | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | ffmpeg-doc | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavcodec61 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavcodec-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavcodec-extra | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavcodec-extra61 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavdevice61 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavdevice-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavfilter10 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavfilter-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavfilter-extra | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavfilter-extra10 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavformat61 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavformat-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavformat-extra | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavformat-extra61 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavutil59 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libavutil-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libpostproc58 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libpostproc-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libswresample5 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libswresample-dev | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libswscale8 | 7:7.1.5-0+deb13u1 | — |
| Debian | trixie | libswscale-dev | 7:7.1.5-0+deb13u1 | — |
