CVE Tools

CVE-2025-59730

Heap-buffer-overflow write in FFmpeg SANM decoding due to lack of bounds-checking in old_codec48

Published: Oct 6, 2025Updated: Oct 6, 2025 Sources: CVE List NVD BDUCWE-787
5.1CVSSMEDIUM

Description

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.

CVSS Vector Breakdown

AV:AAC:HC:LI:HA:N
Exploitability
AV:AAccess Vector
Adjacent Network
AC:HAccess Complexity
High
Impact
C:LConfidentiality
L
I:HIntegrity
H
A:NAvailability
None

Weaknesses

Affected Products

ffmpeg teamoss-projectOSS Librariesaka ffmpeg
google inccommercialUSMobile Appsaka google
ffmpegoss-projectUSOSS Librariesaka libavcodec

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

Official Patch Available

MITRE ATT&CK

2 techniques
Initial Access
Privilege Escalation
View detailed technique mapping

References

Timeline

Published
Oct 6, 2025
Last Updated
Oct 6, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2025-59730 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows