CVE & CISA-KEV Catalog

CVE-2021-40211

HIGH
7.5
CVSS v3
NVD

Description

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

How to fix

Remediation Available
imagemagickDebian
Fixed in:8:6.9.11.60+dfsg-1.3+deb11u2CVE-2021-40211
Fixed in:8:6.9.11.60+dfsg-1.5CVE-2021-40211
Fixed in:8:6.9.11.60+dfsg-1.5CVE-2021-40211
Fixed in:8:6.9.11.60+dfsg-1.5CVE-2021-40211
ImageMagickRed Hat / RHEL
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.s390RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppcRHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
ImageMagickRocky
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppcRHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.s390RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
ImageMagick-c++Red Hat / RHEL
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppcRHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.s390RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
ImageMagick-c++Rocky
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.s390RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppcRHSA-2023:5461
ImageMagick-c++-develRed Hat / RHEL
Fixed in:0:6.9.10.68-7.el7_9.ppcRHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.s390RHSA-2023:5461
ImageMagick-c++-develRocky
Fixed in:0:6.9.10.68-7.el7_9.ppcRHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.s390RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
ImageMagick-debuginfoRed Hat / RHEL
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppcRHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.s390RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
ImageMagick-debuginfoRocky
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppcRHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.s390RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
ImageMagick-develRed Hat / RHEL
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.s390RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppcRHSA-2023:5461
ImageMagick-develRocky
Fixed in:0:6.9.10.68-7.el7_9.ppcRHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.s390RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
ImageMagick-docRed Hat / RHEL
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
ImageMagick-docRocky
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
ImageMagick-perlRed Hat / RHEL
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
ImageMagick-perlRocky
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9.ppc64RHSA-2023:5461
Fixed in:0:6.9.10.68-7.el7_9RHSA-2023:5461

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.80%probability of exploitation in 30 days
52ndpercentile

Moderate risk: more likely to be exploited than 52% of all known CVEs.

References

Related Vulnerabilities

Other CWE-369 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2012-0207High7.520%-Fix
CVE-2017-8537Medium5.517%--
CVE-2017-8536Medium5.517%--
CVE-2017-8535Medium5.517%--
CVE-2007-2237Medium5.515%--
CVE-2025-0317High7.513%--
Embed a live status badge for CVE-2021-40211
CVE-2021-40211 severity badge

Markdown

[![CVE-2021-40211](https://tridentstack.com/cve/badge/CVE-2021-40211.svg)](https://tridentstack.com/cve/CVE-2021-40211)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-40211"><img src="https://tridentstack.com/cve/badge/CVE-2021-40211.svg" alt="CVE-2021-40211"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.