CVE-2025-59729 — Out-of-bounds Write in Ffmpeg
Severity
5.7MEDIUMNVD
EPSS
0.0%
top 94.27%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedOct 6
Description
When parsing the header for a DHAV file, there's an integer underflow in offset calculation that leads to reading the duration from before the start of the allocated buffer.
If we load a DHAV file that is larger than MAX_DURATION_BUFFER_SIZE bytes (0x100000) for example 0x101000 bytes, then at [0] we have size = 0x101000. At [1] we have end_buffer_size = 0x100000, and at [2] we have end_buffer_pos = 0x1000.
The loop then scans backwards through the buffer looking for the dhav tag; when it is f…
CVSS vector
CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N
Affected Packages2 packages
🔴Vulnerability Details
3OSV▶
CVE-2025-59729: When parsing the header for a DHAV file, there's an integer underflow in offset calculation that leads to reading the duration from before the start o↗2025-10-06
GHSA▶
GHSA-j8h4-v947-5h7q: When parsing the header for a DHAV file, there's an integer underflow in offset calculation that leads to reading the duration from before the start o↗2025-10-06