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

- Severity: High 8.7 (CVSS:4.0, scored by Google) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-10-06T08:08:27.410Z
- Modified: 2026-10-09T10:10:00.193Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Google

## 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.

(As written by CVE List.)

## Affected

- FFmpeg MPEG-DASH: from 7.1.1 before 8.0; from a218cafe4d3be005ab0c61130f90db4d21afb5db before 8.0

## References

- <https://issuetracker.google.com/433502298>

## Sources

- CVE List: [CVE-2025-59728](https://www.cve.org/CVERecord?id=CVE-2025-59728), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2025-59728](https://nvd.nist.gov/vuln/detail/CVE-2025-59728), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2025-59728 · Whole record: https://cve.day/CVE-2025-59728.json · Rebuilt by cve.day 2026-11-25T22:59:05.557Z
