CVE-2025-59728

HIGH

FFmpeg MPEG-DASH - Out-of-bounds Write via xmlNodeGetContent Buffer Handling

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v4 8.7
EPSS 0.0002
EPSS Percentile 5.5%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-787
Status published
Products (2)
FFmpeg/MPEG-DASH 7.1.1 - 8.0
FFmpeg/MPEG-DASH a218cafe4d3be005ab0c61130f90db4d21afb5db - 8.0
Published Oct 06, 2025
Tracked Since Feb 18, 2026