CVE-2025-57803 (CNNVD-202508-3148)

HIGH
中文标题:
ImageMagick 安全漏洞
英文标题:
ImageMagick (WriteBMPImage): 32-bit integer overflow when writing BMP scanline stride → heap buffer overflow
CVSS分数: 7.5
发布时间: 2025-08-26 17:25:59
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

ImageMagick是ImageMagick开源的一套开源的图像处理软件。可读取、转换或写入多种格式的图片。 ImageMagick 6.9.13-28之前版本和7.1.2-2之前版本存在安全漏洞,该漏洞源于BMP编码器中32位整数溢出,可能导致堆内存损坏。

英文描述:

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2 for ImageMagick's 32-bit build, a 32-bit integer overflow in the BMP encoder’s scanline-stride computation collapses bytes_per_line (stride) to a tiny value while the per-row writer still emits 3 × width bytes for 24-bpp images. The row base pointer advances using the (overflowed) stride, so the first row immediately writes past its slot and into adjacent heap memory with attacker-controlled bytes. This is a classic, powerful primitive for heap corruption in common auto-convert pipelines. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.

CWE类型:
CWE-122 CWE-190
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
ImageMagick ImageMagick < 7.1.2-2 - - cpe:2.3:a:imagemagick:imagemagick:<_7.1.2-2:*:*:*:*:*:*:*
ImageMagick ImageMagick < 6.9.13-28 - - cpe:2.3:a:imagemagick:imagemagick:<_6.9.13-28:*:*:*:*:*:*:*
imagemagick imagemagick * - - cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-mxvv-97wh-cfmm x_refsource_CONFIRM
cve.org
访问
https://github.com/ImageMagick/ImageMagick/commit/2c55221f4d38193adcb51056c14cf238fbcc35d7 x_refsource_MISC
cve.org
访问
https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1 x_refsource_MISC
cve.org
访问
af854a3a-2127-422b-91ae-364da2661108 OTHER
nvd.nist.gov
访问
CVSS评分详情
3.1 (cna)
HIGH
7.5
CVSS向量: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2025-08-26 17:25:59
修改时间:
2025-11-03 18:13:43
创建时间:
2025-11-11 15:40:44
更新时间:
2026-01-12 02:12:05
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-57803 2025-11-11 15:23:30 2025-11-11 07:40:44
NVD nvd_CVE-2025-57803 2025-11-11 15:01:00 2025-11-11 07:48:31
CNNVD cnnvd_CNNVD-202508-3148 2025-11-11 15:12:55 2025-11-11 08:00:07
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:07
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202508-3148; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202508-3148
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:31
affected_products_count: 2 → 3; references_count: 3 → 4; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 2 -> 3
  • references_count: 3 -> 4
  • data_sources: ['cve'] -> ['cve', 'nvd']