CVE-2025-59729 (CNNVD-202510-828)

MEDIUM
中文标题:
FFmpeg 安全漏洞
英文标题:
Heap-buffer-overflow read in FFmpeg DHAV get_duration
CVSS分数: 5.7
发布时间: 2025-10-06 08:08:46
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

ffmpeg是meh.个人开发者的一个rust库。 FFmpeg 8.0之前版本存在安全漏洞,该漏洞源于解析DHAV文件头时整数下溢,可能导致读取分配缓冲区前的持续时间。

英文描述:

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.

CWE类型:
CWE-787
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
FFmpeg FFmpeg - < 8.0 - cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 OTHER
cve.org
访问
CVSS评分详情
4.0 (cna)
MEDIUM
5.7
CVSS向量: 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
机密性
LOW
完整性
HIGH
可用性
NONE
后续系统影响 (Subsequent):
机密性
LOW
完整性
HIGH
可用性
NONE
时间信息
发布时间:
2025-10-06 08:08:46
修改时间:
2025-10-06 16:28:37
创建时间:
2025-11-11 15:40:47
更新时间:
2025-11-11 16:00:21
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-59729 2025-11-11 15:23:31 2025-11-11 07:40:47
NVD nvd_CVE-2025-59729 2025-11-11 15:01:05 2025-11-11 07:48:33
CNNVD cnnvd_CNNVD-202510-828 2025-11-11 15:12:30 2025-11-11 08:00:21
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:21
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202510-828; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202510-828
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:33
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']