FFmpeg
CVE-2025-59728
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent-network access with low privileges
-
DeliveryDeliver crafted media stream to ffmpeg
-
ExploitTrigger out-of-bounds write (CWE-787)
-
ExecutionCorrupt ffmpeg process memory
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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
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.
Primary rating from Vendor (vendor:alpine).
CVSS VectorVendor: vendor:alpine
Lifecycle Timeline
2DescriptionCVE.org
Alpine Linux: ffmpeg fixed in 8.0-r0
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
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
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
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
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB