Numeric Errors Affecting imagemagick package, versions <7:6.2.4.5.dfsg1-2


Severity

Recommended
medium

Based on Debian security rating.

Threat Intelligence

EPSS
0.37% (74th 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 IDSNYK-DEBIAN12-IMAGEMAGICK-1548297
  • published24 Sept 2007
  • disclosed24 Sept 2007

Introduced: 24 Sep 2007

CVE-2007-4987  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade Debian:12 imagemagick to version 7:6.2.4.5.dfsg1-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

Off-by-one error in the ReadBlobString function in blob.c in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted image file, which triggers the writing of a '\0' character to an out-of-bounds address.

CVSS Scores

version 3.1