Skip to main content
EPSS 0.1%top 97%

ImageMagick before 7.1.2-27 contains a memory leak vulnerability in the magick command-line interface when invalid options are provided. (CVE-2026-66011)

0
Medium
Published: 07/25/2026 (07/25/2026, 11:17:00 UTC)
Source: GCVE Database
Product: imagemagick

Description

ImageMagick versions prior to 7.1.2-27 have a memory leak vulnerability in the magick command-line interface triggered by invalid options. This flaw allows attackers to cause memory exhaustion by repeatedly supplying malformed command-line arguments, potentially impacting system availability. The vulnerability has a moderate severity rating with a CVSS score of 3.3. No known exploits are reported in the wild. A fix is available in version 7.1.2-27.

CVSS v3.1

3.3low

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

Affected software

GitHub Actionsmore threats →ai
imagemagick/ImageMagick
pkg:github/imagemagick/ImageMagick
Affected versions
<7.1.2-27
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.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-c28x-m839-79fq
Osv Schema Version
1.4.0
Aliases
CVE-2026-66011
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a6542059c2644c7f8081ae2

Added to database: 07/25/2026, 23:08:53 UTC

Last enriched: 08/07/2026, 03:36:55 UTC

Last updated: 10/24/2026, 08:45:12 UTC

Views: 93

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.

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