Vulnerability · Published Oct 6, 2025 · Assigned by Google

CVE-2025-59728Heap-buffer-overflow write in FFmpeg MDASH resolve_content_path

High 8.7

In plain English

A high-severity out-of-bounds write in MPEG-DASH from FFmpeg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.2%top 91.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23ffmpeg8.0-r0ALPINE-CVE-2025-59728
Alpine:v3.24ffmpeg8.0-r0ALPINE-CVE-2025-59728
Ubuntu:25.10ffmpeg7:7.1.1-1ubuntu4.2UBUNTU-CVE-2025-59728

Affected products (as reported)

VendorProductVersions
FFmpeg MPEG-DASH 7.1.1 – before 8.0a218cafe4d3be005ab0c61130f90db4d21afb5db – before 8.0

Weakness: CWE-787 · Vector: 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

References