CVE-2025-62171 (CNNVD-202510-2481)

MEDIUM
中文标题:
ImageMagick 输入验证错误漏洞
英文标题:
ImageMagick vulnerable to denial of service via integer overflow in BMP decoder on 32-bit systems
CVSS分数: 5.9
发布时间: 2025-10-17 16:30:27
漏洞类型: 输入验证错误
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

ImageMagick是ImageMagick开源的一套开源的图像处理软件。可读取、转换或写入多种格式的图片。 ImageMagick 7.1.2-7之前版本和6.9.13-32之前版本存在输入验证错误漏洞,该漏洞源于32位系统上BMP解码器计算extent值时发生整数溢出,可能导致缓冲区溢出。

英文描述:

ImageMagick is an open source software suite for displaying, converting, and editing raster image files. In ImageMagick versions prior to 7.1.2-7 and 6.9.13-32, an integer overflow vulnerability exists in the BMP decoder on 32-bit systems. The vulnerability occurs in coders/bmp.c when calculating the extent value by multiplying image columns by bits per pixel. On 32-bit systems with size_t of 4 bytes, a malicious BMP file with specific dimensions can cause this multiplication to overflow and wrap to zero. The overflow check added to address CVE-2025-57803 is placed after the overflow occurs, making it ineffective. A specially crafted 58-byte BMP file with width set to 536,870,912 and 32 bits per pixel can trigger this overflow, causing the bytes_per_line calculation to become zero. This vulnerability only affects 32-bit builds of ImageMagick where default resource limits for width, height, and area have been manually increased beyond their defaults. 64-bit systems with size_t of 8 bytes are not vulnerable, and systems using default ImageMagick resource limits are not vulnerable. The vulnerability is fixed in versions 7.1.2-7 and 6.9.13-32.

CWE类型:
CWE-190
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
ImageMagick ImageMagick < 6.9.13-32 - - cpe:2.3:a:imagemagick:imagemagick:<_6.9.13-32:*:*:*:*:*:*:*
ImageMagick ImageMagick >= 7.0.0-0, < 7.1.2-7 - - cpe:2.3:a:imagemagick:imagemagick:>=_7.0.0-0,_<_7.1.2-7:*:*:*:*:*:*:*
imagemagick imagemagick * - - cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9pp9-cfwx-54rm x_refsource_CONFIRM
cve.org
访问
https://github.com/ImageMagick/ImageMagick/commit/cea1693e2ded51b4cc91c70c54096cbed1691c00 x_refsource_MISC
cve.org
访问
af854a3a-2127-422b-91ae-364da2661108 OTHER
nvd.nist.gov
访问
CVSS评分详情
3.1 (cna)
MEDIUM
5.9
CVSS向量: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
机密性
NONE
完整性
NONE
可用性
HIGH
时间信息
发布时间:
2025-10-17 16:30:27
修改时间:
2025-11-03 17:45:24
创建时间:
2025-11-11 15:40:48
更新时间:
2025-11-11 16:00:18
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-62171 2025-11-11 15:23:33 2025-11-11 07:40:48
NVD nvd_CVE-2025-62171 2025-11-11 15:01:06 2025-11-11 07:48:35
CNNVD cnnvd_CNNVD-202510-2481 2025-11-11 15:13:00 2025-11-11 08:00:18
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:18
vulnerability_type: 未提取 → 输入验证错误; cnnvd_id: 未提取 → CNNVD-202510-2481; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 输入验证错误
  • cnnvd_id: 未提取 -> CNNVD-202510-2481
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:35
affected_products_count: 2 → 3; references_count: 2 → 3; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 2 -> 3
  • references_count: 2 -> 3
  • data_sources: ['cve'] -> ['cve', 'nvd']