CVE-2025-59728
Heap-buffer-overflow write in FFmpeg MDASH resolve_content_path
Reported by google · Published October 6, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| MPEG-DASH | git.ffmpeg.org | 8.0 |
| ffmpeg | Alpine | 8.0-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | MPEG-DASH | 7.1.1, a218cafe4d3be005ab0c61130f90db4d21afb5db |
| FFmpeg | MPEG-DASH | *, 7.1.1 |
| alpine | ffmpeg | 0 |
Timeline
- Sep 24, 2025 CVE Published
- Oct 6, 2025 EPSS Score (30 in total, the first dated here)
- Oct 6, 2025 Coalition ESS Score (5 in total, the first dated here)
- Oct 6, 2025 PoC Published (3 in total, the first dated here)
- Apr 2, 2026 Security Advisory (5 in total, the first dated here)
- Aug 10, 2026 Distribution Patch
- Oct 9, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-59728
vulnetix vdb fixes CVE-2025-59728
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-59728/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart