Improper neutralization of user data in the DjVu file format in ExifTool versions 7.44 and up allows arbitrary code execution when parsing the malicious image
CVE-2021-22204
Score elevated to 9.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2021-11-17), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 6.8 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
A fix is available — apply it.
- CVSS v3
- 6.8
- EG Score
- 9.0(high)
- EG Risk
- 81(Attend)EG Risk 81/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation100% × 40%Automatability0% × 15%Action: Remediate soon — notable exploitation risk. - EPSS
- 100.0%
- KEV
- ⚠ Exploited
Published
April 23, 2021
Last Modified
November 3, 2025
Advisory Details (8)
Auto-updated Jun 11, 2026[SECURITY] [DLA 2663-1] libimage-exiftool-perl security update
https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html2021/CVE-2021-22204.json · master · GitLab.org / GitLab CVE assignments · GitLab
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.jsoncommit cf0f4e7dcd02 (exiftool/exiftool)
Fix landed in exiftool/exiftool commit cf0f4e7dcd02 — awaiting tagged release
https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800oss-security - Re: [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious image
http://www.openwall.com/lists/oss-security/2021/05/10/5oss-security - [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious image
http://www.openwall.com/lists/oss-security/2021/05/09/1Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libimage-exiftool-perl (11.88-1ubuntu0.1) @ focal | 2026-07-22 | ubuntu |
| ubuntu | libimage-exiftool-perl (10.10-1ubuntu0.1~esm1) @ xenial | 2026-07-22 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(2)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 62× in last 7d / 295× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 566 total refreshes for this CVE.
- 2026-07-23 01:57 UTCEG score recompute
- 2026-07-22 23:26 UTCEG score recompute
- 2026-07-22 23:26 UTCVendor advisory
- 2026-07-22 23:26 UTCGHSA enrichment
- 2026-07-22 22:44 UTCEG score recompute
- 2026-07-22 19:40 UTCCISA KEV update
- 2026-07-22 19:08 UTCGHSA enrichment
- 2026-07-22 14:49 UTCGHSA enrichment
- 2026-07-22 10:29 UTCGHSA enrichment
- 2026-07-22 06:11 UTCGHSA enrichment
- 2026-07-22 01:53 UTCGHSA enrichment
- 2026-07-21 21:35 UTCGHSA enrichment
- 2026-07-21 17:15 UTCGHSA enrichment
- 2026-07-21 14:37 UTCCISA KEV update
- 2026-07-21 12:57 UTCGHSA enrichment
- 2026-07-21 08:39 UTCGHSA enrichment
- 2026-07-21 04:20 UTCGHSA enrichment
- 2026-07-21 00:02 UTCVendor advisory
- 2026-07-21 00:02 UTCGHSA enrichment
- 2026-07-20 19:44 UTCVendor advisory
- 2026-07-20 19:44 UTCGHSA enrichment
- 2026-07-20 15:27 UTCVendor advisory
- 2026-07-20 15:27 UTCGHSA enrichment
- 2026-07-20 11:04 UTCVendor advisory
- 2026-07-20 11:04 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-07-20 06:46 UTCVendor advisory
- 2026-07-20 06:46 UTCGHSA enrichment
- 2026-07-20 02:07 UTCGHSA enrichment
- 2026-07-19 21:49 UTCVendor advisory
- 2026-07-19 21:49 UTCGHSA enrichment
- 2026-07-19 17:32 UTCVendor advisory
- 2026-07-19 17:32 UTCGHSA enrichment
- 2026-07-19 13:15 UTCVendor advisory
- 2026-07-19 13:14 UTCGHSA enrichment
- 2026-07-19 08:57 UTCVendor advisory
- 2026-07-19 08:57 UTCGHSA enrichment
- 2026-07-19 04:39 UTCVendor advisory
- 2026-07-19 04:39 UTCGHSA enrichment
- 2026-07-19 00:21 UTCVendor advisory
- 2026-07-19 00:21 UTCGHSA enrichment
- 2026-07-18 20:03 UTCVendor advisory
- 2026-07-18 20:03 UTCGHSA enrichment
- 2026-07-18 15:45 UTCVendor advisory
- 2026-07-18 15:45 UTCGHSA enrichment
- 2026-07-18 11:27 UTCVendor advisory
- 2026-07-18 11:27 UTCGHSA enrichment
- 2026-07-18 07:09 UTCVendor advisory
- 2026-07-18 07:09 UTCGHSA enrichment
- 2026-07-18 02:51 UTCVendor advisory
- 2026-07-18 02:51 UTCGHSA enrichment
- 2026-07-17 22:33 UTCVendor advisory
- 2026-07-17 22:33 UTCGHSA enrichment
- 2026-07-17 18:16 UTCVendor advisory
- 2026-07-17 18:16 UTCGHSA enrichment
- 2026-07-17 13:55 UTCVendor advisory
- 2026-07-17 13:55 UTCGHSA enrichment
- 2026-07-17 09:38 UTCEG score recompute
- 2026-07-17 09:38 UTCGHSA enrichment
- 2026-07-17 05:20 UTCGHSA enrichment
- 2026-07-17 01:03 UTCGHSA enrichment
- 2026-07-16 20:44 UTCVendor advisory
- 2026-07-16 20:44 UTCGHSA enrichment
- 2026-07-16 17:04 UTCCISA KEV update
- 2026-07-16 16:26 UTCGHSA enrichment
- 2026-07-16 12:08 UTCGHSA enrichment
- 2026-07-16 07:50 UTCVendor advisory
- 2026-07-16 07:50 UTCGHSA enrichment
- 2026-07-16 03:32 UTCVendor advisory
- 2026-07-16 03:32 UTCGHSA enrichment
- 2026-07-15 23:14 UTCGHSA enrichment
- 2026-07-15 18:56 UTCVendor advisory
- 2026-07-15 18:56 UTCGHSA enrichment
- 2026-07-15 16:49 UTCCISA KEV update
- 2026-07-15 15:04 UTCCISA KEV update
- 2026-07-15 14:38 UTCGHSA enrichment
- 2026-07-15 10:19 UTCGHSA enrichment
- 2026-07-15 06:02 UTCGHSA enrichment
- 2026-07-15 01:43 UTCVendor advisory
- 2026-07-15 01:43 UTCGHSA enrichment
- 2026-07-14 21:26 UTCVendor advisory
- 2026-07-14 21:26 UTCGHSA enrichment
- 2026-07-14 18:05 UTCCISA KEV update
- 2026-07-14 17:08 UTCGHSA enrichment
- 2026-07-14 12:51 UTCGHSA enrichment
- 2026-07-14 08:33 UTCGHSA enrichment
- 2026-07-14 04:15 UTCVendor advisory
- 2026-07-14 04:15 UTCGHSA enrichment
- 2026-07-13 23:58 UTCVendor advisory
- 2026-07-13 23:58 UTCGHSA enrichment
- 2026-07-13 19:40 UTCVendor advisory
- 2026-07-13 19:40 UTCGHSA enrichment
- 2026-07-13 17:07 UTCCISA KEV update
- 2026-07-13 15:22 UTCVendor advisory
- 2026-07-13 15:22 UTCGHSA enrichment
- 2026-07-13 11:03 UTCVendor advisory
- 2026-07-13 11:03 UTCGHSA enrichment
- 2026-07-13 06:46 UTCVendor advisory
- 2026-07-13 06:46 UTCGHSA enrichment
- 2026-07-13 02:28 UTCVendor advisory
- 2026-07-13 02:28 UTCGHSA enrichment
Publicly available exploits
(10 references)Working exploit code is in the public domain (1 Metasploit module) (8 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Open source ↗GitHub PoCAkash7350/CVE-2021-22204First seen May 14, 2023
- Exploit-DBEDB-50911First seen May 11, 2022
ExifTool 12.23 - Arbitrary Code Execution
Open source ↗ - GitHub PoCUNICORDev/exploit-CVE-2021-22204First seen Apr 16, 2022
Exploit for CVE-2021-22204 (ExifTool) - Arbitrary Code Execution
Open source ↗ - Open source ↗GitHub PoCtrganda/CVE-2021-22204First seen Dec 29, 2021
- GitHub PoCph-arm/CVE-2021-22204-GitlabFirst seen Nov 4, 2021
Modification of gitlab exploit anything under 13.10
Open source ↗ - Open source ↗GitHub PoCPenTestical/CVE-2021-22204First seen Aug 2, 2021
- Open source ↗GitHub PoCAssassinUKG/CVE-2021-22204First seen Aug 2, 2021
- Metasploitexploit/unix/fileformat/exiftool_djvu_ant_perl_injection✓ verifiedFirst seen May 24, 2021
ExifTool DjVu ANT Perl injection
Open source ↗ - GitHub PoCbilkoh/POC-CVE-2021-22204First seen May 21, 2021
POC for exiftool vuln (CVE-2021-22204).
Open source ↗ - GitHub PoCse162xg/CVE-2021-22204First seen May 12, 2021
exiftool arbitrary code execution vulnerability
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownubuntu
Frequently asked(6)
What is CVE-2021-22204?
When was CVE-2021-22204 disclosed?
Is CVE-2021-22204 actively exploited?
What is the CVSS score of CVE-2021-22204?
Which products are affected by CVE-2021-22204?
How do I remediate CVE-2021-22204?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2021-22204
Is Your Infrastructure Affected by CVE-2021-22204?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.