cve.bz

CVE-2026-66039 ffmpeg ffmpeg: Heap-based Buffer Overflow

8.7 highEPSS 0.3%Fix available

High (8.7) in ffmpeg ffmpeg. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.7 high
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

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-66039 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-66039?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-66039?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-66039 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
FFmpegthrough 8.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13ffmpegno fix listedDEBIAN-CVE-2026-66039
Debian14ffmpeg7:9.0.2-1DEBIAN-CVE-2026-66039
Ubuntu26.10ffmpegno fix listedUBUNTU-CVE-2026-66039
UbuntuPro:14.04:LTSlibavno fix listedUBUNTU-CVE-2026-66039
UbuntuPro:16.04:LTSffmpeg7:2.8.17-0ubuntu0.1+esm15UBUNTU-CVE-2026-66039 USN-8671-1
UbuntuPro:18.04:LTSffmpeg7:3.4.11-0ubuntu0.1+esm13UBUNTU-CVE-2026-66039 USN-8671-1
UbuntuPro:20.04:LTSffmpeg7:4.2.7-0ubuntu0.1+esm14UBUNTU-CVE-2026-66039 USN-8671-1
UbuntuPro:22.04:LTSffmpeg7:4.4.2-0ubuntu0.22.04.1+esm13UBUNTU-CVE-2026-66039 USN-8671-1
UbuntuPro:24.04:LTSffmpeg7:6.1.1-3ubuntu5+esm11UBUNTU-CVE-2026-66039 USN-8671-1
UbuntuPro:26.04:LTSffmpeg7:8.0.1-3ubuntu2+esm3UBUNTU-CVE-2026-66039 USN-8738-1
Red Hatenterprise_linux_ai:3.0::el9ffmpeg, ffmpeg-debuginfo, ffmpeg-free-rhai and 27 more0:6.1.6-9.el9aiRHSA-2026:74089
Red Hatenterprise_linux_ai:3.3::el9ffmpeg, ffmpeg-debuginfo, ffmpeg-free-rhai and 27 more0:6.1.6-7.el9aiRHSA-2026:60336
Red Hatenterprise_linux_ai:3.4::el9ffmpeg, ffmpeg-debuginfo, ffmpeg-free-rhai and 27 more0:6.1.6-7.el9aiRHSA-2026:60334
Red Hatenterprise_linux_ai:3.5::el9ffmpeg, ffmpeg-debuginfo, ffmpeg-free-rhai and 27 more0:6.1.6-7.el9aiRHSA-2026:60335
Red Hatenterprise_linux_ai:3.6::el9ffmpeg, ffmpeg-debuginfo, ffmpeg-free-rhai and 27 more0:6.1.6-8.el9aiRHSA-2026:66381
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 10 moreffmpeg3.4.2-150200.11.73.1SUSE-SU-2026:3552-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 moreffmpeg-44.4.8-150400.3.72.1SUSE-SU-2026:3529-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7ffmpeg-44.4.8-150600.13.52.1SUSE-SU-2026:3542-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0ffmpeg-77.1.4-160000.3.1SUSE-SU-2026:23222-1 SUSE-SU-2026:23232-1
openSUSELeap 16.0ffmpeg-44.4.7-bp160.3.1openSUSE-SU-2026:21522-1
openSUSELeap 16.0ffmpeg-77.1.4-160000.3.1openSUSE-SU-2026:21572-1
openSUSETumbleweedffmpeg-44.4.8-3.1openSUSE-SU-2026:11448-1
openSUSETumbleweedffmpeg-77.1.5-2.1openSUSE-SU-2026:11665-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux AI 3.0 for RHEL 9ffmpeg-0:6.1.6-9.el9aiFixed 2026-09-30RHSA-2026:74089
Red Hat Enterprise Linux AI 3.3 for RHEL 9ffmpeg-0:6.1.6-7.el9aiFixed 2026-08-26RHSA-2026:60336
Red Hat Enterprise Linux AI 3.4 for RHEL 9ffmpeg-0:6.1.6-7.el9aiFixed 2026-08-26RHSA-2026:60334
Red Hat Enterprise Linux AI 3.5 for RHEL 9ffmpeg-0:6.1.6-7.el9aiFixed 2026-08-26RHSA-2026:60335
Red Hat Enterprise Linux AI 3.6 for RHEL 9ffmpeg-0:6.1.6-8.el9aiFixed 2026-09-10RHSA-2026:66381
Red Hat AI Inference Server 3.5rhaii/vllm-rocm-rhel9:1791425869Fixed 2026-10-13RHSA-2026:82059
Red Hat AI Inference Server 3.5rhaii/vllm-gaudi-rhel9:1791427182Fixed 2026-10-13RHSA-2026:82061
Red Hat AI Inference Server 3.5rhaii/model-opt-cuda-rhel9:1791803821Fixed 2026-10-13RHSA-2026:82066
Red Hat AI Inference Server 3.5rhaii/vllm-cuda-rhel9:1791473631Fixed 2026-10-13RHSA-2026:82368
Red Hat AI Inference Server 3.5rhaii/vllm-spyre-rhel9:1791818357Fixed 2026-10-13RHSA-2026:82371
Red Hat AI Inference Server 3.5rhaii/vllm-cpu-rhel9:1791473614Fixed 2026-10-13RHSA-2026:82415
Red Hat Enterprise Linux AI 3.5rhelai3/disk-image-cuda-rhel9:1793206758Fixed 2026-10-29RHSA-2026:92449
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-aws-cuda-rhel9:1793194817Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-azure-cuda-rhel9:1793194815Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-azure-rocm-rhel9:1793194834Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-cuda-rhel9:1793135861Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-gcp-cuda-rhel9:1793194815Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-rocm-rhel9:1793135863Fixed 2026-10-29RHSA-2026:92452
Red Hat OpenShift AI 2.25rhoai/odh-vllm-gaudi-rhel9:1786712464Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 3.2rhai/base-image-tpu-rhel9:1791231896Fixed 2026-10-12RHSA-2026:80735
19 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-66039.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON