CVE catalog

CVE-2025-59730

ffmpeg: CVE-2025-59730

[CVE catalog]

Severity
Medium · CVSS 5.7CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.16% · Oct 25, 2026

When decoding a frame for a SANM file (ANIM v0 variant), the decoded data can be larger than the buffer allocated for it. Frames encoded with codec 48 can specify their resolution (width x height). A buffer of appropriate size is allocated depending on the resolution. This codec can encode the frame contents using a run-length encoding algorithm. There are no checks that the decoded frame fits in the allocated buffer, leading to a heap-buffer-overflow. process_frame_obj initializes the buffers based on the frame resolution: We recommend upgrading to version 8.0 or beyond.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianffmpegsid7:9.0.2-4not affected
Debianffmpegforky7:9.0.2-4not affected
Debianffmpegtrixie7:7.1.5-0+deb13u1not affected
Debianffmpegtrixie-security7:7.1.5-0+deb13u1not affected
Debianffmpegbookworm7:5.1.9-0+deb12u1not affected
Debianffmpegbookworm-security7:5.1.9-0+deb12u1not affected
Ubuntulibavpro6:0.8.7-1ubuntu2vulnerable
Ubuntulibavpro6:9.10-1ubuntu1vulnerable
Ubuntulibavpro6:9.10-1ubuntu2vulnerable
Ubuntulibavpro6:9.10-1ubuntu5vulnerable
Ubuntulibavpro6:9.10-1ubuntu6vulnerable
Ubuntulibavpro6:9.10-1ubuntu7vulnerable
Ubuntulibavpro6:9.11-2ubuntu1vulnerable
Ubuntulibavpro6:9.11-2ubuntu2vulnerable
Ubuntulibavpro6:9.13-0ubuntu0.14.04.1vulnerable
Ubuntulibavpro6:9.14-0ubuntu0.14.04.1vulnerable
Ubuntulibavpro6:9.16-0ubuntu0.14.04.1vulnerable
Ubuntulibavpro6:9.18-0ubuntu0.14.04.1vulnerable
Ubuntulibavpro6:9.20-0ubuntu0.14.04.1vulnerable
Ubuntulibavpro6:9.20-0ubuntu0.14.04.1+esm1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianffmpegsourcesidNot affectedunimportantNot reportedNot reported
DebianffmpegsourceforkyNot affectedunimportantNot reportedNot reported
DebianffmpegsourcetrixieNot affectedunimportantNot reportedNot reported
DebianffmpegsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ffmpeg]Not affected
    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [ffmpeg-doc]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · all · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · all · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · all · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · all · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavcodec59]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavcodec-dev]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavcodec-extra]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavcodec-extra59]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavdevice59]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavdevice-dev]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavfilter8]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavfilter-dev]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavfilter-extra]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavfilter-extra8]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavformat59]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavformat-dev]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavformat-extra]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavformat-extra59]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavutil57]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libavutil-dev]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libpostproc56]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

  • [libpostproc-dev]Not affected

    Source package: [ffmpeg]

    Details (4)
    • 7:5.1.9-0+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

    • 7:5.1.9-0+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ffmpeg · debian · bookworm

Next results

Observed:

References