7.5

CVE-2025-62171: ImageMagick vulnerable to denial of service via integer overflow in BMP decoder on 32-bit systems

Modified
AliasesSUSE-SU-2025:3796-1SUSE-SU-2025:3844-1SUSE-SU-2025:3867-1
Published 17-10-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-62171 is a high (CVSS 7.5) Integer Overflow or Wraparound vulnerability in imagemagick. EPSS estimates a 0.85% chance of exploitation in the next 30 days, higher than 59.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.85%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3 · Related 2

Timeline

  1. 17-10-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.85%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.81% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Imagemagick

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

NuGet6 products
  • Magick.NET-Q16-AnyCPU< 14.9.0
  • Magick.NET-Q16-HDRI-AnyCPU< 14.9.0
  • Magick.NET-Q16-HDRI-x86< 14.9.0
  • Magick.NET-Q16-x86< 14.9.0
  • Magick.NET-Q8-AnyCPU< 14.9.0
Suse5 products
  • ImageMagick&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP6< 7.1.0.9-150400.6.46.1 | < 7.1.1.21-150600.3.26.1
  • ImageMagick&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP7< 7.1.0.9-150400.6.46.1 | < 7.1.1.43-150700.3.19.1
  • ImageMagick&distro=SUSE Linux Enterprise Module for Development Tools 15 SP6< 7.1.1.21-150600.3.26.1
  • ImageMagick&distro=SUSE Linux Enterprise Module for Development Tools 15 SP7< 7.1.1.43-150700.3.19.1
  • ImageMagick&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 6.8.8.1-71.215.1
Opensuse2 products
  • ImageMagick&distro=openSUSE Leap 15.6< 7.1.1.21-150600.3.26.1
  • ImageMagick&distro=openSUSE Tumbleweed< 7.1.2.7-1.1
Alpine1 product
  • imagemagick≥ 7.0.0-0, < 7.1.2.8-r0 | < 7.1.2.8-r0
Debian1 product
  • imagemagick< 8:6.9.11.60+dfsg-1.3+deb11u7 | < 8:6.9.11.60+dfsg-1.6+deb12u5 | < 8:7.1.1.43+dfsg1-1+deb13u3 | < 8:7.1.2.7+dfsg1-1
Imagemagick1 product
Ubuntu1 product
  • imagemagick< 8:6.7.7.10-6ubuntu3.13+esm16 | < 8:6.8.9.9-7ubuntu5.16+esm15 | < 8:6.9.7.4+dfsg-16ubuntu6.15+esm7 | < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm5 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5 | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4 | All versions (No fix recorded) | < 8:7.1.2.8+dfsg1-1

7 vendors · 17 products

References

17 links
Show all 17 references