Skip to main content

FFmpeg CVE-2025-59728

HIGH
Out-of-bounds Write (CWE-787)
N/A vendor:alpine
8.7
CVSS 4.0 · Vendor: vendor:alpine
View

Attack ChainAIDerived

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

  1. Access
    Gain adjacent-network access with low privileges
  2. Delivery
    Deliver crafted media stream to ffmpeg
  3. Exploit
    Trigger out-of-bounds write (CWE-787)
  4. Execution
    Corrupt ffmpeg process memory
  5. Impact
    Execute code or compromise data integrity

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

The Alpine advisory ('ffmpeg fixed in 8.0-r0') specifies no concrete feature, codec, or configuration prerequisite, so the exact trigger condition is not available from the provided data and must be confirmed via the upstream Google issue tracker entry. Based solely on the supplied CVSS 4.0 vector, exploitation requires: adjacent-network positioning (AV:A - not routable internet-wide), pre-existing low-level privileges (PR:L - authenticated/local foothold needed), and satisfaction of high-complexity conditions (AC:H - likely specific input, timing, or memory-layout state). No user interaction is required (UI:N). The realistic limiting factors for defenders are the adjacency requirement, the privilege prerequisite, and the non-trivial trigger complexity, all of which substantially narrow the exploitable population below what the 8.7 score alone implies; the practical exposure is any host that decodes untrusted media with a vulnerable ffmpeg build reachable from an adjacent network.

Impact

Signals conflict on urgency. The CVSS 4.0 base score of 8.7 (High) is driven by VC:H/VI:H plus subsequent-system impact (SC:H/SI:H), consistent with a CWE-787 out-of-bounds write causing memory corruption in ffmpeg. However, the exploitability metrics temper this: AV:A limits reach to an adjacent/local network rather than the open internet, AC:H means a non-trivial, condition-dependent trigger, and PR:L requires the attacker to already hold some privileges. EPSS is 0.02% (6th percentile), indicating essentially no observed or predicted real-world exploitation activity, and the issue is NOT in CISA KEV and has no public exploit identified at time of analysis. These exploitation-likelihood signals (low EPSS, no KEV, no POC, AC:H, AV:A, PR:L) strongly outweigh the raw score for prioritization: this is a genuine high-impact memory-safety bug but not an emergency, drive-by threat. A key caveat: the Alpine advisory ('ffmpeg fixed in 8.0-r0') provides no root-cause detail, affected codec/demuxer, or exploitation path, and the provenance/derivation of the supplied CVSS 4.0 vector is unclear - the AV:A/PR:L profile is unusual for a typical ffmpeg media-parsing flaw (which is usually local file processing, AV:L/UI:R, or server-side upload processing, AV:N). Verify the vector and affected component against the upstream Google issue tracker entry before acting on the attack-vector assumption. Recommended handling: patch to ffmpeg 8.0-r0 in the normal maintenance cycle, prioritizing hosts that parse untrusted media over an adjacent network.

Exploit ScenarioDerived

An attacker with low-level access on an adjacent network delivers a specially crafted media stream or file to a service that decodes it with ffmpeg, triggering an out-of-bounds write that corrupts process memory. Because the flaw is a CWE-787 memory-corruption bug with high confidentiality and integrity impact, a successful trigger could lead to code execution or data compromise in the decoding process. No public exploit has been identified at time of analysis, and the high attack complexity (AC:H) means the trigger is likely dependent on specific timing or input conditions.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Oct 09, 2026

Out-of-bounds write in Alpine Linux's FFmpeg package (before 8.0-r0) can corrupt memory and compromise confidentiality and integrity on systems that decode untrusted media. Exploitation requires an adjacent-network position, a low-privilege foothold, and high-complexity conditions with no user interaction, per the assessed CVSS 3.1 vector, so practical exposure is narrower than the 8.7 CVSS 4.0 base score suggests. No public exploit is identified at time of analysis, EPSS is 0.02% (6th percentile), and no KEV listing exists; signals conflict on urgency, and the vendor-released patch is Alpine Linux ffmpeg 8.0-r0.

Earlier versions of this analysis (1)
v1 May 27, 2026 - 22:54

FFmpeg on Alpine Linux received a security fix packaged in version 8.0-r0 of the Alpine package repository. The underlying vulnerability details - including attack vector, affected component, and impact class - have not been publicly disclosed in NVD or vendor advisories available at time of analysis. EPSS scoring places this at the 6th percentile (0.02% exploitation probability), indicating very low likelihood of active or near-term exploitation.

RemediationAI

Upgrade the Alpine Linux ffmpeg package to version 8.0-r0 or later (for example, apk upgrade ffmpeg) to obtain the vendor-released patch. If immediate patching is not possible, reduce exposure by restricting adjacent-network access to hosts that decode untrusted media, blocking or segmenting protocols that can deliver crafted media to vulnerable ffmpeg services, and removing low-privilege users' ability to invoke ffmpeg on untrusted input; these compensating controls may disrupt legitimate media processing workflows and are only partial because the exact trigger condition is not documented in the advisory. Consult https://issuetracker.google.com/433502298 and https://vuldb.com/vuln/327251 for further technical details.

Affected ProductsAI

Alpine Linux users running the ffmpeg package before version 8.0-r0 are affected; the reported vendor advisory states ffmpeg is fixed in 8.0-r0. No CPE string was provided in the input data, so CPE-based matching is unavailable. References for additional detail are the upstream Google issue tracker at https://issuetracker.google.com/433502298 and the VulDB advisory at https://vuldb.com/vuln/327251. The exact upstream FFmpeg version that maps to Alpine's 8.0-r0 is not given in the provided data.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The vulnerability is an out-of-bounds write (CWE-787) in FFmpeg, the widely used multimedia framework for decoding, encoding, and transcoding audio/video. CWE-787 occurs when software writes data past the end of an allocated buffer, typically due to missing or incorrect bounds checks during parsing of malformed media; the supplied tags classify it as a buffer overflow and memory corruption issue. The Alpine Linux advisory only states that ffmpeg is fixed in 8.0-r0 and does not specify the exact codec, container, or function involved, so the precise trigger must be confirmed from the upstream Google issue tracker entry (https://issuetracker.google.com/433502298). The CVSS 4.0 vector (AV:A/AC:H/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N) and the independent CVSS 3.1 assessment (AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N) agree that exploitation needs adjacent-network access, a low-privilege foothold, high complexity, and no user interaction, with high confidentiality and integrity impact but no availability impact; the scope-changed/subsequent-system metrics indicate the compromise can extend beyond the vulnerable ffmpeg process. No CPE string was supplied in the input data, so exact CPE-based product matching is unavailable.

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 (vendor:alpine) PRIMARY 8.7 HIGH
CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
vuln.today AI 7.7 HIGH

Kept AV:A/AC:H/PR:L/UI:N per the only available (4.0) data; SC:H/SI:H maps to S:C and VC:H/VI:H/VA:N maps to C:H/I:H/A:N, though the terse advisory gives no independent basis.

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

Primary rating from Vendor (vendor:alpine).

CVSS VectorVendor: vendor:alpine

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

Lifecycle Timeline

2
Analysis Updated
Oct 09, 2026 - 10:28 vuln.today
v2 - CVSS changed
CVSS changed
Oct 09, 2026 - 10:22 NVD
8.7 (HIGH)

DescriptionCVE.org

Alpine Linux: ffmpeg fixed in 8.0-r0

Executive ViewAI

Why It Matters

Alpine Linux's FFmpeg package (versions before 8.0-r0) contains an out-of-bounds write that can corrupt memory and compromise confidentiality and integrity in any workload decoding untrusted media, including container images, CI/CD build pipelines, and media-processing services built on Alpine. Exploitation is constrained: it requires adjacent-network positioning plus a low-privilege foothold under high-complexity conditions, and there is no public exploit identified at time of analysis, so the practical near-term risk is lower than the 8.7 severity score implies. Leadership should care because FFmpeg is a ubiquitous transitive dependency in Alpine-based images, meaning remediation touches platform, container, and application teams simultaneously rather than a single owner.

Business Impact: Medium
Compensating Controls

Apply vendor patch (Alpine Linux ffmpeg 8.0-r0); until deployed, restrict or sandbox decoding of untrusted media on affected systems, limit adjacent-network reachability, and enforce least privilege to remove the low-privilege foothold the attack path depends on.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
Ubiquitous
ffmpeg is a core multimedia library embedded across countless servers, apps, and distros
Data Quality
4 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.0%
Patch available No
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

CVE-2021-38090 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta

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