Skip to content
OpenAdvisories
High · 8.7 CVE-2025-59728 EUVD-2025-32177GHSA-xqxw-8f97-vf86

Heap-buffer-overflow write in FFmpeg MDASH resolve_content_path

Published Oct 6, 2025 · Updated Feb 26, 2026 · 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.

Affected products

VendorProductAffectedFixed
FFmpeg MPEG-DASH 7.1.1 – < 8.0, a218cafe4d3be005ab0c61130f90db4d21afb5db – < 8.0 8.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 25.10 ffmpeg 7:7.1.1-1ubuntu4.2 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS ffmpeg 7:6.1.1-3ubuntu5+esm7 —
Ubuntu Pro 22.04 LTS ffmpeg 7:4.4.2-0ubuntu0.22.04.1+esm11 —
Ubuntu Pro 20.04 LTS ffmpeg 7:4.2.7-0ubuntu0.1+esm12 —
Ubuntu Pro 14.04 LTS libav No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 ffmpeg-4 4.4.6-150600.13.33.1 SUSE-SU-2026:2445-1, SUSE-SU-2025:3715-1
SLES 15 SP6 ffmpeg-4 4.4.6-150600.13.33.1 SUSE-SU-2025:3715-1
SLES 15 SP4 ffmpeg-4 4.4.6-150400.3.55.1 SUSE-SU-2026:2444-1, SUSE-SU-2025:3810-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 ffmpeg-4 4.4.6-150400.3.55.1 SUSE-SU-2026:2444-1, SUSE-SU-2025:3810-1
SLE HPC 15 SP4 ffmpeg-4 4.4.6-150400.3.55.1 SUSE-SU-2026:2444-1, SUSE-SU-2025:3810-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ffmpeg-4 4.4.6-9.1 openSUSE-SU-2025:15640-1
openSUSE Leap 15.6 ffmpeg-4 4.4.6-150600.13.33.1 SUSE-SU-2025:3715-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ffmpeg 8.0-r0 —
Alpine v3.23 ffmpeg 8.0-r0 —

Advisories 6

References