# CVE-2025-59728: Heap-buffer-overflow write in FFmpeg MDASH resolve\_content\_path

- Priority: **Routine**
- Reason: Not severe (CVSS 8.7, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-06 · Modified: 2026-02-26
- Aliases: SUSE-SU-2025:3810-1, UBUNTU-CVE-2025-59728, openSUSE-SU-2025:15640-1, ALPINE-CVE-2025-59728
- Record: https://cvemate.com/vulnerability/CVE-2025-59728 · JSON: https://cvemate.com/vulnerability/CVE-2025-59728/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.188%, percentile 8.818%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine ffmpeg (Alpine Linux): \< 8.0-r0
- ubuntu ffmpeg (Ubuntu): \< 7:4.2.7-0ubuntu0.1+esm12 \| \< 7:4.4.2-0ubuntu0.22.04.1+esm11 \| \< 7:6.1.1-3ubuntu5+esm7 \| \< 7:7.1.1-1ubuntu4.2
- ubuntu libav (Ubuntu): All versions (No fix recorded)
- ffmpeg mpeg-dash: ≥ 7.1.1, \< 8.0 \| ≥ a218cafe4d3be005ab0c61130f90db4d21afb5db, \< 8.0
- opensuse ffmpeg-4&distro=openSUSE Tumbleweed (openSUSE): \< 4.4.6-9.1
- suse ffmpeg-4&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS (SUSE Linux Enterprise): \< 4.4.6-150400.3.55.1
- suse ffmpeg-4&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS (SUSE Linux Enterprise): \< 4.4.6-150400.3.55.1
- suse ffmpeg-4&distro=SUSE Linux Enterprise Server 15 SP4-LTSS (SUSE Linux Enterprise): \< 4.4.6-150400.3.55.1
- suse ffmpeg-4&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP4 (SUSE Linux Enterprise): \< 4.4.6-150400.3.55.1

## References

- <https://issuetracker.google.com/433502298>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20253810-1/>
- <https://bugzilla.suse.com/1226308>
- <https://bugzilla.suse.com/1251137>
- <https://www.suse.com/security/cve/CVE-2025-59728>
- <https://ubuntu.com/security/CVE-2025-59728>
- <https://www.cve.org/CVERecord?id=CVE-2025-59728>
- <https://ffmpeg.org/security.html>
- <https://ubuntu.com/security/notices/USN-7982-1>
- <https://security.alpinelinux.org/vuln/CVE-2025-59728>

---

Data as of 2026-12-05T07:09:37.017Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
