Skip to main content

FFmpeg CVE-2026-125267

| EUVDEUVD-2026-120217 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-11-09 VulnCheck GHSA-crxj-w795-w2wj
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Craft malicious APAC file
  2. Delivery
    Deliver to victim or upload to media pipeline
  3. Exploit
    FFmpeg APAC decoder processes file
  4. Install
    Unreset bitstream_index integer overflow
  5. C2
    Reallocation check bypassed
  6. Execute
    memcpy heap out-of-bounds write
  7. Impact
    Crash or arbitrary code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that FFmpeg's APAC decoder (libavcodec/apac.c) be invoked to decode an attacker-crafted APAC file on a vulnerable version - FFmpeg before 8.1.3 or 9.x before 9.0.2. The trigger is specifically a growing, unreset bitstream_index that overflows (CWE-190) and bypasses the reallocation check before memcpy(). Limiting factors per the CVSS vector (AV:L/UI:P): this is not remotely reachable without local file processing, and it depends on passive user interaction - the victim or a backend service must actually accept and decode the malicious APAC input. Any pipeline that auto-transcodes untrusted user-supplied media with FFmpeg satisfies the interaction condition. The only complete fix stated by the evidence is updating to the fixed versions (8.1.3 / 9.0.2).

Impact

This is a genuine but second-tier priority: a heap out-of-bounds write (CWE-190 integer overflow) in FFmpeg's APAC decoder carrying a CVSS 4.0 base of 8.5 with high confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H). The vendor-supplied vector is AV:L/AC:L/AT:N/PR:N/UI:P - this is NOT a remote network-reachable flaw; exploitation requires the victim to locally process an attacker-supplied APAC file, with passive user interaction. That local-plus-interaction gating is the main thing that keeps this below emergency status despite the high impact score. No EPSS score was provided, there is no CISA KEV listing (not actively exploited per available data), and no confirmed working exploit code was supplied - only the fix PR, patch commit, and vulnerable source line are referenced. The vuln.today decision label is 'this_week,' which aligns with the signal picture: serious memory-corruption bug in extremely widely-embedded software, but no evidence of active or at-scale exploitation. The public patch commit (e15ddb7) does lower the bar for exploit development since the exact fix and overflow condition are now disclosed. Missing data to note: EPSS and any SSVC automatable/exploitation fields were not provided, so widespread-exploitation probability cannot be quantified from the input.

Exploit ScenarioDerived

An attacker crafts a malicious APAC audio file and delivers it to a victim (e.g., via a download, email attachment, or a web/media service that transcodes user-uploaded media with FFmpeg). When the file is decoded, a growing, unreset bitstream_index causes an integer overflow that bypasses the reallocation size check, so memcpy() writes past the heap buffer - corrupting memory to crash the process or potentially achieve code execution. No confirmed working exploit code was provided in the input, though the fix commit publicly discloses the exact overflow condition.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Heap out-of-bounds write in FFmpeg's APAC decoder affects versions before 8.1.3 and 9.x before 9.0.2 when a crafted APAC file is decoded. An unreset bitstream_index grows until an integer overflow (CWE-190) bypasses the reallocation check, allowing a memcpy() to corrupt heap memory or crash the process; the CVSS 4.0 base score is 8.5 with high C/I/A impact on the vulnerable component. Exploitation is local and requires user interaction (AV:L/UI:P, PR:N), and no public exploit was identified at time of analysis, while fixed releases 8.1.3 and 9.0.2 are available.

RemediationAI

Upgrade FFmpeg to 8.1.3 for the 8.x branch or 9.0.2 for the 9.x branch; these are the fixed versions provided, and the vendor patch is available. The source fix is commit e15ddb7f9a2f9b3ab8ac305efb6f94ddc18463d0 (pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24432), with the advisory at 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. The evidence states that updating is the only complete fix and provides no validated workaround.

Affected VersionsENISA

FFmpeg 0 <8.1.3
FFmpeg 9.0 <9.0.2

Affected Packages

euvd ffmpeg fix: 8.1.3, 9.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FFmpeg's libavcodec/apac.c implements the APAC audio decoder and tracks bitstream_index and bitstream_size while handling input buffers. In the affected code, an unreset bitstream_index can grow with crafted input until an integer overflow (CWE-190) subverts the reallocation check, so a subsequent memcpy()/memmove() writes past the heap allocation. The supplied fix commit e15ddb7f9a2f9b3ab8ac305efb6f94ddc18463d0 changes the guard around the bitstream compaction/memmove path, and the CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* identifies FFmpeg as the affected product. The CVSS 4.0 vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N describes local access with user interaction and high impact only on the vulnerable component.

Know when Ffmpeg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

File must be locally decoded with victim interaction (AV:L/UI:R), no privileges needed (PR:N), and heap corruption yields potential code execution, so C/I/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the FFmpeg APAC decoder can be triggered by decoding a malicious APAC file, leading to heap corruption or a crash of the affected application. This impacts any product or service that uses the vulnerable FFmpeg library to process untrusted media, potentially causing service disruption or memory compromise. Leadership should prioritize remediation to protect service availability and prevent potential further exploitation.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec is embedded across countless media apps, services, and pipelines
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy