GHSA-9pp9-cfwx-54rm · Severity: medium · Ecosystem: nuget — ImageMagick has Integer Overflow in BMP Decoder (ReadBMP)
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.
Conclusion & alert: CVE-2025-62171 is rated Exploit Available (56.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.74%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.05% | 0.74% | +0.68% |
| 2 | 2025-11-18 | 0.05% | 0.05% | +0.01% |
| 3 | 2025-11-04 | — | 0.05% | — |
Full EPSS history (5 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-9pp9-cfwx-54rm · Severity: medium · Ecosystem: nuget — ImageMagick has Integer Overflow in BMP Decoder (ReadBMP)
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2025-62171: 1 source package rows (imagemagick); 108 state rows across 3 repos (3.22-community, 3.23-community, edge-community); fixed 17, open 91. | https://security.alpinelinux.org/vuln/CVE-2025-62171 |
debian
|
not yet assigned | CVE-2025-62171 not yet assigned priority: Debian including 1 source packages (imagemagick), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2025-62171 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-62171 |
suse
|
medium | CVE-2025-62171 severity moderate: SUSE including 83 source package names (GraphicsMagick, GraphicsMagick-devel, …), 159 product×package rows across 14 product lines (SUSE Linux Enterprise Module for Desktop Applications 15 SP6, SUSE Linux Enterprise Module for Desktop Applications 15 SP7, … (14 product lines)): Fixed 121, Known Not Affected 24, First Fixed 14. | https://www.suse.com/security/cve/CVE-2025-62171/ |
ubuntu
|
medium | CVE-2025-62171 medium priority: Ubuntu including 1 source packages (imagemagick), 9 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): released 7, ignored 1, needed 1. | https://ubuntu.com/security/CVE-2025-62171 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| imagemagick | imagemagick | < 6.9.13-32 | cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* |
| imagemagick | imagemagick | >= 7.0.0-0, < 7.1.2-7 | cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* |