CVE-2025-62171 (CNNVD-202510-2481)
中文标题:
ImageMagick 输入验证错误漏洞
英文标题:
ImageMagick vulnerable to denial of service via integer overflow in BMP decoder on 32-bit systems
漏洞描述
中文描述:
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类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | 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:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (cna)
MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
时间信息
利用信息
数据源详情
| 数据源 | 记录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 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 输入验证错误
- cnnvd_id: 未提取 -> CNNVD-202510-2481
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 2 -> 3
- references_count: 2 -> 3
- data_sources: ['cve'] -> ['cve', 'nvd']