Bug 2401803 (CVE-2025-59728)

Summary: CVE-2025-59728 FFmpeg: FFmpeg: Out-of-bounds NUL-byte write in MPEG-DASH manifest handling
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: gtanzill, jbuscemi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in FFmpeg. This vulnerability allows an out-of-bounds NUL-byte write one byte past the end of the buffer, leading to potential denial of service or arbitrary code execution, via the processing of a specially crafted MPEG-DASH (Dynamic Adaptive Streaming over HTTP) manifest.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2401812, 2401813, 2401814, 2401815, 2401816, 2401819, 2401820, 2401817, 2401818    
Bug Blocks:    

Description OSIDB Bzimport 2025-10-06 09:01:47 UTC
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.