Description
FFmpeg before commit acf5d7c contains a heap buffer overflow in the hvcC box writer. When writing an HEVC configuration record with more NAL units of a single type than the count field can represent, the NAL unit count overflows, causing a heap buffer overflow. A crafted HEVC input file triggers the overflow during muxing.
Published: 2026-08-19
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap buffer overflow occurs in FFmpeg's hvcC box writer when it processes an HEVC configuration record containing more NAL units of a single type than the count field can represent. The overflow corrupts memory on the heap while muxing a crafted HEVC file, potentially enabling an attacker to execute arbitrary code. This flaw arises from improper handling of the NAL unit count and could be leveraged to compromise the host process if malicious HEVC data is processed.

Affected Systems

All FFmpeg builds that contain code before commit acf5d7c are affected. This includes every release that has not yet incorporated the fix introduced by that commit. Users running older FFmpeg versions to perform HEVC muxing are therefore vulnerable.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.5, indicating high severity. The EPSS score is not available, so the current exploitation probability remains uncertain but potentially high for systems processing untrusted media. The flaw is not yet catalogued in CISA's KEV list, meaning no confirmed public exploits yet, but that does not reduce the threat. Attackers can trigger the overflow by crafting a malicious HEVC file and running the FFmpeg binary with it. The likely attack vector is inferred to be local when FFmpeg executes on the host, or remote when the application exposing FFmpeg is reachable from untrusted networks.

Generated by OpenCVE AI on August 20, 2026 at 13:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to a version that includes commit acf5d7c or newer.
  • If an upgrade is not possible, prohibit HEVC muxing of untrusted inputs or use a sandboxed instance.
  • Apply runtime protections such as stack canaries, ASLR, and monitor for heap corruption or abnormal crashes.

Generated by OpenCVE AI on August 20, 2026 at 13:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 05:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 19 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg

Wed, 19 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description FFmpeg before commit acf5d7c contains a heap buffer overflow in the hvcC box writer. When writing an HEVC configuration record with more NAL units of a single type than the count field can represent, the NAL unit count overflows, causing a heap buffer overflow. A crafted HEVC input file triggers the overflow during muxing.
Title FFmpeg Heap Buffer Overflow in hvcC Box Writer via HEVC Muxing
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-21T03:55:42.927Z

Reserved: 2026-08-17T18:39:57.661Z

Link: CVE-2026-75141

cve-icon Vulnrichment

Updated: 2026-08-20T15:40:51.577Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-19T17:21:12.287

Modified: 2026-08-31T20:37:35.877

Link: CVE-2026-75141

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T14:00:04Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow