OOB NUL-byte write in MPEG-DASH manifest parsing (ffmpeg <8.0)
CVE-2025-59728 Published on October 6, 2025

Heap-buffer-overflow write in FFmpeg MDASH resolve_content_path
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.

NVD

Weakness Type

What is a Memory Corruption Vulnerability?

The software writes data past the end, or before the beginning, of the intended buffer. Typically, this can result in corruption of data, a crash, or code execution. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent write operation then produces undefined or unexpected results.

CVE-2025-59728 has been classified to as a Memory Corruption vulnerability or weakness.


Products Associated with CVE-2025-59728

stack.watch emails you whenever new vulnerabilities are published in FFmpeg or Canonical Ubuntu Linux. Just hit a watch button to start following.

 
 

Affected Versions

FFmpeg MPEG-DASH:

Exploit Probability

EPSS
0.02%
Percentile
4.83%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.