Patchwire CVEs, their patch status, and feeds to follow them

CVE-2025-59729

Fixed in a distro release EPSS <1%CVSS 5.7

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 2025-10-06 · CVE record · OSV

Products: FFMPEG

Distro releases

ReleasePackageFixed in
Chainguardeco-python-ffmpeg-6-minimal6.1.6-r3
Chainguardeco-python-ffmpeg-6-minimal-dev6.1.6-r3
Chainguardeco-python-ffmpeg-6-minimal-static6.1.6-r3
Chainguardeco-python-ffmpeg-7-minimal7.1.5-r2
Chainguardeco-python-ffmpeg-7-minimal-dev7.1.5-r2
Chainguardeco-python-ffmpeg-7-minimal-static7.1.5-r2
Chainguardffmpeg-66.1.6-r5
Chainguardffmpeg-6-dev6.1.3-r0
Chainguardffmpeg-6-doc6.1.3-r0
Chainguardffmpeg-6-libavcodec616.1.3-r0
Chainguardffmpeg-6-libavdevice616.1.3-r0
Chainguardffmpeg-6-libavfilter106.1.3-r0
Chainguardffmpeg-6-libavformat616.1.3-r0
Chainguardffmpeg-6-libavutil596.1.3-r0
Chainguardffmpeg-6-libpostproc586.1.3-r0
Chainguardffmpeg-6-libswresample56.1.3-r0
Chainguardffmpeg-6-libswscale86.1.3-r0
Chainguardffmpeg-6-qt-faststart6.1.3-r0
Chainguardffmpeg-6-static6.1.3-r0
Chainguardffmpeg-77.1.5-r3
Chainguardffmpeg-7-dev7.1.2-r0
Chainguardffmpeg-7-doc7.1.2-r0
Chainguardffmpeg-7-libavcodec617.1.2-r0
Chainguardffmpeg-7-libavdevice617.1.2-r0
Chainguardffmpeg-7-libavfilter107.1.2-r0
Chainguardffmpeg-7-libavformat617.1.2-r0
Chainguardffmpeg-7-libavutil597.1.2-r0
Chainguardffmpeg-7-libpostproc587.1.2-r0
Chainguardffmpeg-7-libswresample57.1.2-r0
Chainguardffmpeg-7-libswscale87.1.2-r0
Chainguardffmpeg-7-qt-faststart7.1.2-r0
Chainguardffmpeg-7-static7.1.2-r0
Chainguardffmpeg-7.17.1.5-r4
Chainguardffmpeg-7.1-dev7.1.2-r0
Chainguardffmpeg-7.1-doc7.1.2-r0
Chainguardffmpeg-7.1-libavcodec617.1.2-r0
Chainguardffmpeg-7.1-libavdevice617.1.2-r0
Chainguardffmpeg-7.1-libavfilter107.1.2-r0
Chainguardffmpeg-7.1-libavformat617.1.2-r0
Chainguardffmpeg-7.1-libavutil597.1.2-r0
Chainguardffmpeg-7.1-libpostproc587.1.2-r0
Chainguardffmpeg-7.1-libswresample57.1.2-r0
Chainguardffmpeg-7.1-libswscale87.1.2-r0
Chainguardffmpeg-7.1-qt-faststart7.1.2-r0
Chainguardffmpeg-7.1-static7.1.2-r0
Chainguardtorchaudio-ffmpeg-tarballs1-r2
Chainguardtorchaudio-ffmpeg-tarballs-4.4.41-r2
Chainguardtorchaudio-ffmpeg-tarballs-5.0.31-r2
Chainguardtorchaudio-ffmpeg-tarballs-6.01-r2
Debian 11ffmpegno fix
Debian 12ffmpegno fix
Debian 13ffmpegno fix
Debian 14ffmpegno fix
Ubuntu Pro 14.04 LTSlibavno fix
Wolfiffmpeg-77.1.5-r3
Wolfiffmpeg-7-dev7.1.2-r0
Wolfiffmpeg-7-doc7.1.2-r0
Wolfiffmpeg-7-libavcodec617.1.2-r0
Wolfiffmpeg-7-libavdevice617.1.2-r0
Wolfiffmpeg-7-libavfilter107.1.2-r0
Wolfiffmpeg-7-libavformat617.1.2-r0
Wolfiffmpeg-7-libavutil597.1.2-r0
Wolfiffmpeg-7-libpostproc587.1.2-r0
Wolfiffmpeg-7-libswresample57.1.2-r0
Wolfiffmpeg-7-libswscale87.1.2-r0
Wolfiffmpeg-7-qt-faststart7.1.2-r0
Wolfiffmpeg-7-static7.1.2-r0
Wolfiffmpeg-7.17.1.5-r4
Wolfiffmpeg-7.1-dev7.1.2-r0
Wolfiffmpeg-7.1-doc7.1.2-r0
Wolfiffmpeg-7.1-libavcodec617.1.2-r0
Wolfiffmpeg-7.1-libavdevice617.1.2-r0
Wolfiffmpeg-7.1-libavfilter107.1.2-r0
Wolfiffmpeg-7.1-libavformat617.1.2-r0
Wolfiffmpeg-7.1-libavutil597.1.2-r0
Wolfiffmpeg-7.1-libpostproc587.1.2-r0
Wolfiffmpeg-7.1-libswresample57.1.2-r0
Wolfiffmpeg-7.1-libswscale87.1.2-r0
Wolfiffmpeg-7.1-qt-faststart7.1.2-r0
Wolfiffmpeg-7.1-static7.1.2-r0