What’s Vulnerable › Vulnerabilities
CVE-2025-59728: Heap-buffer-overflow write in FFmpeg MDASH resolve_content_path
- Severity: high (CVSS 8.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-06 · updated 2026-10-09
- Weakness: CWE-787
Description
When calculating the content path in handling of MPEG-DASH manifests, there's an out-of-bounds NUL-byte write one byte past the end of the buffer.When we call xmlNodeGetContent below [0], it returns a buffer precisely allocated to match the string length, using strdup internally. If this buffer is not an empty string, it is assigned to root_url at [1].If the last (non-NUL) byte in this buffer is not '/' then we append '/' in-place at [2]. This will write two bytes into the buffer, starting at the last valid byte in the buffer, writing the NUL byte beyond the end of the allocated buffer. We recommend upgrading to version 8.0 or beyond.
Affected products
- FFmpeg MPEG-DASH: from 7.1.1 before 8.0; from a218cafe4d3be005ab0c61130f90db4d21afb5db before 8.0 — fixed in 8.0
How to fix
Upgrade to a fixed version: FFmpeg MPEG-DASH 8.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-59728 or the next vulnerability affects your stack