Unchecked Return Value Affecting imagemagick package, versions <7.1.2.29-r0


Severity

Recommended
0.0
low
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.27% (17th 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-ALPINE323-IMAGEMAGICK-19667806
  • published10 Sept 2026
  • disclosed11 Jul 2026

Introduced: 11 Jul 2026

CVE-2026-61857  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 imagemagick to version 7.1.2.29-r0 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 Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

ImageMagick before 7.1.2-26 contains a heap use-after-free vulnerability caused by missing null check when parsing XMP profiles. Attackers can craft malicious image files with specially crafted XMP data to trigger the vulnerability and cause application crashes.

CVSS Base Scores

version 3.1