Skip to main content

ImageMagick before 7.1.2-30 and 6.9.x before 6.9.13-55 contains a heap-use-after-free vulnerability in the Layer method of PerlMagick. (CVE-2026-86425)

0
Medium
Published: 09/07/2026 (09/07/2026, 13:20:00 UTC)
Source: GCVE Database
Product: imagemagick

Description

ImageMagick versions before 7.1.2-30 and 6.9.x before 6.9.13-55 contain a heap-use-after-free vulnerability in the Layer method of PerlMagick. This flaw allows an attacker who supplies a crafted list of images to trigger memory access after deallocation, causing a crash and resulting in a denial of service condition. The vulnerability has a medium severity rating with a CVSS score of 5.5.

CVSS v3.1

Score 5.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
imagemagick
pkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=8:6.7.7.10-5ubuntu3=8:6.7.7.10-5ubuntu4=8:6.7.7.10-6ubuntu1=8:6.7.7.10-6ubuntu2=8:6.7.7.10-6ubuntu3=8:6.7.7.10-6ubuntu3.1=8:6.7.7.10-6ubuntu3.2=8:6.7.7.10-6ubuntu3.3=8:6.7.7.10-6ubuntu3.4=8:6.7.7.10-6ubuntu3.5=8:6.7.7.10-6ubuntu3.6=8:6.7.7.10-6ubuntu3.7=8:6.7.7.10-6ubuntu3.8=8:6.7.7.10-6ubuntu3.9=8:6.7.7.10-6ubuntu3.11=8:6.7.7.10-6ubuntu3.12=8:6.7.7.10-6ubuntu3.13=8:6.7.7.10-6ubuntu3.13+esm1=8:6.7.7.10-6ubuntu3.13+esm2=8:6.7.7.10-6ubuntu3.13+esm3=8:6.7.7.10-6ubuntu3.13+esm4=8:6.7.7.10-6ubuntu3.13+esm5=8:6.7.7.10-6ubuntu3.13+esm6=8:6.7.7.10-6ubuntu3.13+esm7=8:6.7.7.10-6ubuntu3.13+esm8=8:6.7.7.10-6ubuntu3.13+esm9=8:6.7.7.10-6ubuntu3.13+esm10=8:6.7.7.10-6ubuntu3.13+esm11=8:6.7.7.10-6ubuntu3.13+esm12=8:6.7.7.10-6ubuntu3.13+esm13=8:6.7.7.10-6ubuntu3.13+esm14=8:6.7.7.10-6ubuntu3.13+esm15=8:6.7.7.10-6ubuntu3.13+esm16=8:6.7.7.10-6ubuntu3.13+esm17=8:6.7.7.10-6ubuntu3.13+esm18=8:6.7.7.10-6ubuntu3.13+esm19=8:6.7.7.10-6ubuntu3.13+esm20=8:6.7.7.10-6ubuntu3.13+esm21=8:6.7.7.10-6ubuntu3.13+esm22=8:6.7.7.10-6ubuntu3.13+esm23=8:6.7.7.10-6ubuntu3.13+esm24=8:6.7.7.10-6ubuntu3.13+esm25=8:6.7.7.10-6ubuntu3.13+esm26=8:6.7.7.10-6ubuntu3.13+esm27
Ubuntu:Pro:16.04:LTSmore threats →ghsa
imagemagick
pkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=8:6.8.9.9-5ubuntu2=8:6.8.9.9-6=8:6.8.9.9-6build1=8:6.8.9.9-7=8:6.8.9.9-7ubuntu1=8:6.8.9.9-7ubuntu2=8:6.8.9.9-7ubuntu3=8:6.8.9.9-7ubuntu4=8:6.8.9.9-7ubuntu5=8:6.8.9.9-7ubuntu5.1=8:6.8.9.9-7ubuntu5.2=8:6.8.9.9-7ubuntu5.3=8:6.8.9.9-7ubuntu5.4=8:6.8.9.9-7ubuntu5.5=8:6.8.9.9-7ubuntu5.6=8:6.8.9.9-7ubuntu5.7=8:6.8.9.9-7ubuntu5.8=8:6.8.9.9-7ubuntu5.9=8:6.8.9.9-7ubuntu5.11=8:6.8.9.9-7ubuntu5.12=8:6.8.9.9-7ubuntu5.13=8:6.8.9.9-7ubuntu5.14=8:6.8.9.9-7ubuntu5.15=8:6.8.9.9-7ubuntu5.16=8:6.8.9.9-7ubuntu5.16+esm1=8:6.8.9.9-7ubuntu5.16+esm2=8:6.8.9.9-7ubuntu5.16+esm3=8:6.8.9.9-7ubuntu5.16+esm4=8:6.8.9.9-7ubuntu5.16+esm5=8:6.8.9.9-7ubuntu5.16+esm6=8:6.8.9.9-7ubuntu5.16+esm7=8:6.8.9.9-7ubuntu5.16+esm8=8:6.8.9.9-7ubuntu5.16+esm9=8:6.8.9.9-7ubuntu5.16+esm10=8:6.8.9.9-7ubuntu5.16+esm11=8:6.8.9.9-7ubuntu5.16+esm12=8:6.8.9.9-7ubuntu5.16+esm13=8:6.8.9.9-7ubuntu5.16+esm14=8:6.8.9.9-7ubuntu5.16+esm15=8:6.8.9.9-7ubuntu5.16+esm16=8:6.8.9.9-7ubuntu5.16+esm17=8:6.8.9.9-7ubuntu5.16+esm18=8:6.8.9.9-7ubuntu5.16+esm19=8:6.8.9.9-7ubuntu5.16+esm20=8:6.8.9.9-7ubuntu5.16+esm21=8:6.8.9.9-7ubuntu5.16+esm22=8:6.8.9.9-7ubuntu5.16+esm23=8:6.8.9.9-7ubuntu5.16+esm24=8:6.8.9.9-7ubuntu5.16+esm25=8:6.8.9.9-7ubuntu5.16+esm26
Ubuntu:Pro:18.04:LTSmore threats →ghsa
imagemagick
pkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra/bionic
Affected versions
=8:6.9.7.4+dfsg-16ubuntu2=8:6.9.7.4+dfsg-16ubuntu3=8:6.9.7.4+dfsg-16ubuntu4=8:6.9.7.4+dfsg-16ubuntu5=8:6.9.7.4+dfsg-16ubuntu6=8:6.9.7.4+dfsg-16ubuntu6.2=8:6.9.7.4+dfsg-16ubuntu6.3=8:6.9.7.4+dfsg-16ubuntu6.4=8:6.9.7.4+dfsg-16ubuntu6.7=8:6.9.7.4+dfsg-16ubuntu6.8=8:6.9.7.4+dfsg-16ubuntu6.9=8:6.9.7.4+dfsg-16ubuntu6.11=8:6.9.7.4+dfsg-16ubuntu6.12=8:6.9.7.4+dfsg-16ubuntu6.13=8:6.9.7.4+dfsg-16ubuntu6.14=8:6.9.7.4+dfsg-16ubuntu6.15=8:6.9.7.4+dfsg-16ubuntu6.15+esm1=8:6.9.7.4+dfsg-16ubuntu6.15+esm2=8:6.9.7.4+dfsg-16ubuntu6.15+esm3=8:6.9.7.4+dfsg-16ubuntu6.15+esm4=8:6.9.7.4+dfsg-16ubuntu6.15+esm5=8:6.9.7.4+dfsg-16ubuntu6.15+esm6=8:6.9.7.4+dfsg-16ubuntu6.15+esm7=8:6.9.7.4+dfsg-16ubuntu6.15+esm8=8:6.9.7.4+dfsg-16ubuntu6.15+esm9=8:6.9.7.4+dfsg-16ubuntu6.15+esm10=8:6.9.7.4+dfsg-16ubuntu6.15+esm11=8:6.9.7.4+dfsg-16ubuntu6.15+esm12=8:6.9.7.4+dfsg-16ubuntu6.15+esm13=8:6.9.7.4+dfsg-16ubuntu6.15+esm14=8:6.9.7.4+dfsg-16ubuntu6.15+esm15=8:6.9.7.4+dfsg-16ubuntu6.15+esm16=8:6.9.7.4+dfsg-16ubuntu6.15+esm17=8:6.9.7.4+dfsg-16ubuntu6.15+esm18
Ubuntu:Pro:20.04:LTSmore threats →ghsa
imagemagick
pkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/focal
Affected versions
=8:6.9.10.23+dfsg-2.1ubuntu3=8:6.9.10.23+dfsg-2.1ubuntu8=8:6.9.10.23+dfsg-2.1ubuntu9=8:6.9.10.23+dfsg-2.1ubuntu10=8:6.9.10.23+dfsg-2.1ubuntu11=8:6.9.10.23+dfsg-2.1ubuntu11.1=8:6.9.10.23+dfsg-2.1ubuntu11.2=8:6.9.10.23+dfsg-2.1ubuntu11.4=8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1=8:6.9.10.23+dfsg-2.1ubuntu11.5=8:6.9.10.23+dfsg-2.1ubuntu11.6=8:6.9.10.23+dfsg-2.1ubuntu11.6+esm1=8:6.9.10.23+dfsg-2.1ubuntu11.7=8:6.9.10.23+dfsg-2.1ubuntu11.7+esm1=8:6.9.10.23+dfsg-2.1ubuntu11.9=8:6.9.10.23+dfsg-2.1ubuntu11.9+esm1=8:6.9.10.23+dfsg-2.1ubuntu11.9+esm2=8:6.9.10.23+dfsg-2.1ubuntu11.10=8:6.9.10.23+dfsg-2.1ubuntu11.10+esm1=8:6.9.10.23+dfsg-2.1ubuntu11.11=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm1=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm5=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm6=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm8=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm9=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm11=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm14=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15=8:6.9.10.23+dfsg-2.1ubuntu11.11+esm16
Ubuntu:Pro:22.04:LTSmore threats →ghsa
imagemagick
pkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/jammy
Affected versions
=8:6.9.11.60+dfsg-1ubuntu1=8:6.9.11.60+dfsg-1.3=8:6.9.11.60+dfsg-1.3build1=8:6.9.11.60+dfsg-1.3build2=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.2=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.2+esm1=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm3=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm1=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm6=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm9=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm11=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm14=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15=8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm16
Ubuntu:Pro:24.04:LTSmore threats →ghsa
imagemagick
pkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/noble
Affected versions
=8:6.9.11.60+dfsg-1.6ubuntu1=8:6.9.12.98+dfsg1-5=8:6.9.12.98+dfsg1-5.2build1=8:6.9.12.98+dfsg1-5.2build2=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm5=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm8=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm10=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14=8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm15
Ubuntu:26.10more threats →ghsa
imagemagick
pkg:deb/ubuntu/imagemagick?arch=source&distro=stonking
Affected versions
=8:7.1.2.18+dfsg1-1=8:7.1.2.25+dfsg1-2=8:7.1.2.27+dfsg1-1=8:7.1.2.31+dfsg1-1
Ubuntu:Pro:26.04:LTSmore threats →ghsa
imagemagick
pkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/resolute
Affected versions
=8:7.1.2.3+dfsg1-1=8:7.1.2.8+dfsg1-1=8:7.1.2.12+dfsg1-1=8:7.1.2.13+dfsg1-1=8:7.1.2.15+dfsg1-1=8:7.1.2.16+dfsg1-1=8:7.1.2.18+dfsg1-1=8:7.1.2.18+dfsg1-1ubuntu0.1~esm1=8:7.1.2.18+dfsg1-1ubuntu0.1~esm2=8:7.1.2.18+dfsg1-1ubuntu0.1~esm3=8:7.1.2.18+dfsg1-1ubuntu0.1~esm4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 23:23:55 UTC

Technical Analysis

A heap-use-after-free vulnerability exists in the Layer method of PerlMagick in ImageMagick versions prior to 7.1.2-30 and 6.9.x prior to 6.9.13-55. An attacker can exploit this by providing a specially crafted list of images, which triggers memory access after the memory has been freed, leading to a crash (denial of service). The vulnerability does not impact confidentiality or integrity but affects availability.

Potential Impact

The vulnerability results in a denial of service due to a crash caused by heap-use-after-free memory access. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild.

Mitigation Recommendations

A fix is available in ImageMagick versions 7.1.2-30 and 6.9.13-55 and later. Users should upgrade to these or newer versions to remediate the vulnerability. Patch status is confirmed by the version boundaries stated. No additional mitigation steps are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-86425
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:Pro:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6ad3f54e2cdf04f6566586a3

Added to database: 10/17/2026, 22:23:10 UTC

Last enriched: 10/17/2026, 23:23:55 UTC

Last updated: 10/17/2026, 23:23:55 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses