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)
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
Affected software
pkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra-legacy/xenialpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/imagemagick?arch=source&distro=stonkingpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/resoluteRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.