Integer Overflow or Wraparound Affecting ImageMagick/ImageMagick package, versions [,7.1.2-7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.1% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-13635740
  • published19 Oct 2025
  • disclosed17 Oct 2025
  • creditwooseokdotkim

Introduced: 17 Oct 2025

CVE-2025-62171  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 7.1.2-7 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the ReadBMPImage function in the coders/bmp.c file. An attacker can cause the application to crash or become unresponsive by submitting specially crafted BMP files.

CVSS Base Scores

version 4.0
version 3.1