Read the docs

Code injection in ImageMagick encoders via crafted filenames

Priority LOW 25CWE-94Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
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 from 7.0.0 before 7.1.2-35 and before 6.9.13-60 is affected. Improper control of code generation (CWE-94) in the MAGICK, XBM, XPM and UIL encoders lets crafted filenames inject content. A local attacker with access to the output directory and control over the filename can inject extra headers or code into the generated image source output.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

ImageMagick before 7.1.2-35 contains a code injection vulnerability in the MAGICK, XBM, XPM and UIL encoders that allows local attackers to inject content via crafted filenames. Attackers with access to the output directory and control over the filename can inject additional headers or code into the generated image source output.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00151 2nd percentileScored 2026-11-30
Fix Partial ImageMagick (ImageMagick): 7.1.2-35, 6.9.13-60Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

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

Affected products

VendorProductAffected versionsFixed inStatusSource
ImageMagickImageMagick7.0.0 to before 7.1.2-357.1.2-35Patch availableCNA
ImageMagickImageMagickbefore 6.9.13-606.9.13-60Patch availableCNA
  • ImageMagick VendorImageMagick Affected 7.0.0 to before 7.1.2-35 Fixed in 7.1.2-35 Patch available CNA
  • ImageMagick VendorImageMagick Affected before 6.9.13-60 Fixed in 6.9.13-60 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*before 6.9.13-60; 7.0.0-0 to before 7.1.2-35VulnerableImageMagick
  • cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* Versions before 6.9.13-60; 7.0.0-0 to before 7.1.2-35 Vulnerable ·ImageMagick

Remediation

The fixed versions for ImageMagick are 7.1.2-35 and 6.9.13-60. Red Hat lists Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7 as affected with no fix available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA ImageMagick (ImageMagick) Fixed in 7.1.2-35
  • Fix · CNA ImageMagick (ImageMagick) Fixed in 6.9.13-60

Fixed in the same release

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

  • Release ·

    ImageMagick 7.1.2-35

    20 records Highest priority Priority LOW 20 LOW

    Other records, highest priority first

    • TI-2026-93802 ImageMagick XMP profile policy bypass enables denial of servicePriority LOW 37
    • TI-2026-93797 Policy bypass in ImageMagick ASE decoder allows denial of servicePriority LOW 37
    • TI-2026-93795 ImageMagick allocates excessive memory for images with many profilesPriority LOW 37
  • Release ·

    ImageMagick 6.9.13-60

    16 records Highest priority Priority LOW 16 LOW

    Other records, highest priority first

    • TI-2026-93802 ImageMagick XMP profile policy bypass enables denial of servicePriority LOW 37
    • TI-2026-93795 ImageMagick allocates excessive memory for images with many profilesPriority LOW 37
    • TI-2026-93791 Denial of service in ImageMagick raw pixel decodersPriority LOW 37

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-130663
  2. 2026-11-18 Alias added: GHSA-43mw-9x5m-jmx7
  3. 2026-11-21 CISA SSVC decision points changed
  4. 2026-11-25 Affected versions changed · Red Hat
  5. 2026-11-25 CVSS score added · Red Hat

References

  • TI-2016-03144 Command injection in ImageMagick coders allows remote code execution KEVCVSS 3.1HIGH 8.4
  • TI-2023-16996 Improper input validation in ImageMagick CVSS 3.1CRITICAL 9.8
  • TI-2016-03148 Server-side request forgery in ImageMagick HTTP and FTP coders KEVCVSS 3.1MEDIUM 5.5
  • TI-2016-03145 Arbitrary file deletion in ImageMagick via EPHEMERAL coder 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 908 →

Sources