5.5

CVE-2026-40311: ImageMagick: Heap-use-after-free via XMP profile could result in a crash when printing values

Analyzed
AliasesUBUNTU-CVE-2026-40311DEBIAN-CVE-2026-40311GHSA-r83h-crwp-3vm7
Published 13-04-2026Last modified 14-04-2026

Vulnerability summary

CVE-2026-40311 is a medium (CVSS 5.5) Use After Free vulnerability in imagemagick. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9.2% of scored vulnerabilities.

Priority
Routine

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

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.19%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 7

Timeline

  1. 13-04-2026
    PublishedVulnerability first disclosed.
  2. 14-04-2026
    Last modifiedVulnerability information updated.

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Versions below 7.1.2-19 and 6.9.13-44 contain a heap use-after-free vulnerability that can cause a crash when reading and printing values from an invalid XMP profile. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.18% 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

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

NuGet16 products
  • Magick.NET-Q16-AnyCPU< 14.12.0
  • Magick.NET-Q16-arm64< 14.12.0
  • Magick.NET-Q16-HDRI-AnyCPU< 14.12.0
  • Magick.NET-Q16-HDRI-arm64< 14.12.0
  • Magick.NET-Q16-HDRI-OpenMP-arm64< 14.12.0
Alpine1 product
  • imagemagick≥ 7.0.0-0, < 7.1.2.19-r0 | < 7.1.2.19-r0
Debian1 product
  • imagemagick< 8:6.9.11.60+dfsg-1.6+deb12u9 | < 8:7.1.1.43+dfsg1-1+deb13u8 | < 8:7.1.2.19+dfsg1-1
Imagemagick1 product
  • imagemagick< 7.1.2-19 | < 6.9.13-44 | ≥ 7.0.0-0, < 7.1.2-19
Ubuntu1 product
  • imagemagick< 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 | < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 | All versions (No fix recorded) | < 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3

5 vendors · 20 products

References

12 links
Show all 12 references