SEVERITY AND EXPLOITATION CONTEXT

CVE-2025-59729: Heap-buffer-overflow read in FFmpeg DHAV get_duration

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

Heap-buffer-overflow read in FFmpeg DHAV get_duration

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 found, we'll calculate end_pos based on a 32-bit offset read from the buffer. There is subsequently a check [3] that end_pos is within the section of the file that has been copied into end_buffer, but it only correctly handles the cases where end_pos is before the start of the file or after the section copied into end_buffer, and not the case where end_pos is within the the file, but before the section copied into end_buffer. If we provide such an offset, (end_pos - end_buffer_pos) can underflow, resulting in the subsequent access at [4] occurring before the beginning of the allocation. We recommend upgrading to version 8.0 or beyond.

Published CVE snapshot: 2026-10-22. Record last updated: 2025-10-06T16:28:37.534Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

Google · CVSS 4.0: 5.7 Medium

Calculated from the published vector. Base score: 5.7. Provider-reported Base score: 5.7.

Vector and metric explanationsCVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N
MetricValueMeaning
Attack vector (AV)AThe attacker must share a restricted network context, such as a local segment or an adjacent protocol network.
Attack complexity (AC)HExploitation depends on overcoming a specific security-enhancing condition, such as defeating a mitigation.
Attack requirements (AT)PA specific deployment or execution condition is necessary, such as winning a race or gaining an on-path position.
Privileges required (PR)LThe attacker needs basic user capabilities before exploitation.
User interaction (UI)PA targeted user interacts in a limited or involuntary way, such as rendering attacker-controlled content.
Confidentiality (VC)LSome information is disclosed, with limited scope or seriousness of the direct consequence.
Integrity (VI)HIntegrity is completely lost, or modification has a direct, serious consequence.
Availability (VA)NNo availability impact is demonstrated.
Confidentiality (SC)LLimited impact is established in a system beyond the vulnerable system.
Integrity (SI)HHigh impact is established in a system beyond the vulnerable system. Document the affected system and consequence.
Availability (SA)NNo impact to this property is established in a subsequent system.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • FFmpeg · FFmpeg

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (1)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2025 · All published CVEs · Calculation methodology