Read the docs
TI-2021-17364 Aliases CVE-2021-40211GHSA-hv6g-hv36-gg9f

An issue was discovered with ImageMagick 7.1.0-4 via Division by zero in function ReadEnhMetaFile of coders/emf.c.

Priority HIGH 72CWE-369Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-369.

Summary

An issue was discovered with ImageMagick 7.1.0-4 via Division by zero in function ReadEnhMetaFile of coders/emf.c.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00953 61st percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
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
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:imagemagick:imagemagick:7.1.0-4:*:*:*:*:*:*:*7.1.0-4VulnerableImageMagick
  • cpe:2.3:a:imagemagick:imagemagick:7.1.0-4:*:*:*:*:*:*:* Versions 7.1.0-4 Vulnerable ·ImageMagick

Remediation

Red Hat 1 advisory

  • RHSA-2023:5461 Released 2023-10-05 · Red Hat rating Important
    ImageMagick security update
    • Red Hat Enterprise Linux Client (v. 7) ImageMagick-6.9.10.68-7.el7_9, ImageMagick-c++-6.9.10.68-7.el7_9
    • Red Hat Enterprise Linux Client Optional (v. 7) ImageMagick-c++-devel-6.9.10.68-7.el7_9, ImageMagick-devel-6.9.10.68-7.el7_9, ImageMagick-doc-6.9.10.68-7.el7_9 +1
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) ImageMagick-6.9.10.68-7.el7_9, ImageMagick-c++-6.9.10.68-7.el7_9, ImageMagick-c++-devel-6.9.10.68-7.el7_9 +3
    • Red Hat Enterprise Linux Server (v. 7) ImageMagick-6.9.10.68-7.el7_9, ImageMagick-6.9.10.68-7.el7_9.ppc, ImageMagick-c++-6.9.10.68-7.el7_9 +1
    • Red Hat Enterprise Linux Server Optional (v. 7) ImageMagick-c++-6.9.10.68-7.el7_9, ImageMagick-c++-6.9.10.68-7.el7_9.ppc, ImageMagick-c++-devel-6.9.10.68-7.el7_9 +4
    • Red Hat Enterprise Linux Workstation (v. 7) ImageMagick-6.9.10.68-7.el7_9, ImageMagick-c++-6.9.10.68-7.el7_9, ImageMagick-perl-6.9.10.68-7.el7_9
    • Red Hat Enterprise Linux Workstation Optional (v. 7) ImageMagick-c++-devel-6.9.10.68-7.el7_9, ImageMagick-devel-6.9.10.68-7.el7_9, ImageMagick-doc-6.9.10.68-7.el7_9

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2023:5461
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2023:5461
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2023:5461
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2023:5461
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2023:5461
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2023:5461
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2023:5461

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-40211
  2. 2026-10-03 Alias added: GHSA-hv6g-hv36-gg9f

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 888 →

Sources