Read the docs

Code injection in ImageMagick PostScript coders

Priority LOW 26CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-94.

Summary

ImageMagick versions before 6.9.13-56 and 7.x versions before 7.1.2-31 are affected. Some values are not properly escaped or trimmed when the PostScript coders write them to output, which is a code injection flaw (CWE-94). A remote attacker can supply crafted values that embed arbitrary PostScript code into generated files, but exploitation requires user interaction and specific conditions.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

ImageMagick before 6.9.13-56 and 7.x before 7.1.2-31 contains a code injection vulnerability in its PostScript coders, because some values are not properly escaped or trimmed when written to output. Attackers can supply crafted values that embed arbitrary PostScript code into files generated by these coders.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0025 15th percentileScored 2026-10-09
Fix Partial ImageMagick (ImageMagick): 7.1.2-31, 6.9.13-56Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ImageMagickImageMagickbefore 7.1.2-317.1.2-31Patch availableCNA
ImageMagickImageMagickbefore 6.9.13-566.9.13-56Patch availableCNA
  • ImageMagick VendorImageMagick Affected before 7.1.2-31 Fixed in 7.1.2-31 Patch available CNA
  • ImageMagick VendorImageMagick Affected before 6.9.13-56 Fixed in 6.9.13-56 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*——ImageMagick
  • cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* Versions — — ·ImageMagick

Remediation

Upgrade the 7.x line to 7.1.2-31 or later, and the older line to 6.9.13-56 or later. Red Hat Enterprise Linux 6 has no fix planned, and Red Hat Enterprise Linux 7 has no fix available.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA ImageMagick (ImageMagick) Fixed in 7.1.2-31
  • Fix · CNA ImageMagick (ImageMagick) Fixed in 6.9.13-56

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    ImageMagick 7.1.2-31

    9 records Highest priority Priority LOW 9 LOW

    Other records, highest priority first

    • TI-2026-69522 Resource leak in ImageMagick magick script handlingPriority LOW 36
    • TI-2026-69521 ImageMagick Denial of Service via MVG DecoderPriority LOW 36
    • TI-2026-69527 Invalid memory free in ImageMagick MVG decoder crashes applicationPriority LOW 35
  • Release ·

    ImageMagick 6.9.13-56

    5 records Highest priority Priority LOW 5 LOW

    Other records, highest priority first

    • TI-2026-69521 ImageMagick Denial of Service via MVG DecoderPriority LOW 36
    • TI-2026-69527 Invalid memory free in ImageMagick MVG decoder crashes applicationPriority LOW 35
    • TI-2026-69525 ImageMagick Security Policy Bypass via Coder DomainPriority LOW 29

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-08 Threatist record created from CVE-2026-105404
  2. 2026-10-08 Alias added: GHSA-35jq-x7wg-cpwf
  3. 2026-10-08 CISA SSVC decision points changed
  4. 2026-10-08 Priority changed: MEDIUM → LOW
  5. 2026-10-09 Affected versions changed · Red Hat
  6. 2026-10-09 CVSS score added · Red Hat

References

  • TI-2016-03144 The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT… KEVCVSS 3.1HIGH 8.4
  • TI-2023-16996 Improper input validation in ImageMagick CVSS 3.1CRITICAL 9.8
  • TI-2016-03148 The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1… KEVCVSS 3.1MEDIUM 5.5
  • TI-2016-03145 The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote… KEVCVSS 3.1MEDIUM 5.5
  • TI-2025-35690 ImageMagick BlobStream Forward-Seek Under-Allocation CVSS 3.1CRITICAL 9.8
  • TI-2025-33094 ImageMagick has Stack Buffer Overflow in image.c CVSS 3.1CRITICAL 9.8
See all 915 →

Sources