{"id":"CVE-2025-59728","aliases":["CVE-2025-59728"],"related":[],"kind":"vulnerability","state":"published","title":"Heap-buffer-overflow write in FFmpeg MDASH resolve_content_path","summary":"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.\nWe recommend upgrading to version 8.0 or beyond.","summarySource":"cvelist","descriptions":[{"lang":"en","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.\nWe recommend upgrading to version 8.0 or beyond.","source":"cvelist"},{"lang":"es","text":"Al calcular la ruta de contenido al manejar manifiestos MPEG-DASH, se produce una escritura de byte NUL fuera de límites un byte más allá del final del búfer. Cuando se llama a xmlNodeGetContent a continuación [0], devuelve un búfer asignado con precisión para coincidir con la longitud de la cadena, utilizando strdup internamente. Si este búfer no es una cadena vacía, se asigna a root_url en [1]. Si el último byte (no NUL) en este búfer no es /, entonces se añade / en el mismo lugar en [2]. Esto escribirá dos bytes en el búfer, comenzando en el último byte válido en el búfer, escribiendo el byte NUL más allá del final del búfer asignado.\nRecomendamos actualizar a la versión 8.0 o posterior.","source":"nvd"}],"published":"2025-10-06T08:08:27.410Z","modified":"2026-10-09T10:10:00.193Z","severity":{"scorer":"Google","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"Google","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"7.1.1","fixed":"8.0","status":"affected"},{"type":"custom","introduced":"a218cafe4d3be005ab0c61130f90db4d21afb5db","fixed":"8.0","status":"affected"}],"vendor":"FFmpeg","product":"MPEG-DASH","repo":"https://git.ffmpeg.org/ffmpeg.git","source":"cvelist"}],"references":[{"url":"https://issuetracker.google.com/433502298","tags":[],"sources":["cvelist","nvd"]}],"credits":["Google Big Sleep"],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-08T03:55:09.505Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-59728","url":"https://www.cve.org/CVERecord?id=CVE-2025-59728","licence":"CVE Terms of Use","modified":"2026-02-26T17:48:18.443Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-59728","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59728","licence":"Public domain","modified":"2026-10-09T10:10:00.193Z"}],"updatedAt":"2026-11-25T22:59:05.557Z","epss":{"score":0.00188,"percentile":0.08845,"date":"2026-12-01T12:00:22.000Z"}}