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 PROB
- 100%
- EPSS %ILE
- 100%
- 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-09-19 | ubuntu |
| ubuntu | libimage-exiftool-perl (10.10-1ubuntu0.1~esm1) @ xenial | 2026-09-19 | 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.
Affected Packages
(6 across 6 ecosystems)
Debian:10(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libimage-exiftool-perl | 11.16-1 | 11.16-1+deb10u1 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libimage-exiftool-perl | — | 12.16+dfsg-2 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libimage-exiftool-perl | — | 12.16+dfsg-2 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libimage-exiftool-perl | — | 12.16+dfsg-2 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libimage-exiftool-perl | — | 12.16+dfsg-2 | — |
Debian:9(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libimage-exiftool-perl | 10.40-1 | 10.40-1+deb9u1 | — |
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 81× in last 7d / 312× 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 1,153 total refreshes for this CVE.
- 2026-09-19 19:42 UTCVendor advisory
- 2026-09-19 19:42 UTCGHSA enrichment
- 2026-09-19 15:24 UTCVendor advisory
- 2026-09-19 15:24 UTCGHSA enrichment
- 2026-09-19 11:06 UTCVendor advisory
- 2026-09-19 11:06 UTCGHSA enrichment
- 2026-09-19 06:48 UTCVendor advisory
- 2026-09-19 06:48 UTCGHSA enrichment
- 2026-09-19 02:31 UTCVendor advisory
- 2026-09-19 02:31 UTCGHSA enrichment
- 2026-09-18 22:13 UTCVendor advisory
- 2026-09-18 22:13 UTCGHSA enrichment
- 2026-09-18 19:20 UTCCISA KEV update
- 2026-09-18 17:56 UTCVendor advisory
- 2026-09-18 17:56 UTCGHSA enrichment
- 2026-09-18 14:15 UTCCISA KEV update
- 2026-09-18 13:39 UTCVendor advisory
- 2026-09-18 13:39 UTCGHSA enrichment
- 2026-09-18 09:21 UTCVendor advisory
- 2026-09-18 09:21 UTCGHSA enrichment
- 2026-09-18 05:03 UTCVendor advisory
- 2026-09-18 05:03 UTCGHSA enrichment
- 2026-09-18 00:46 UTCVendor advisory
- 2026-09-18 00:46 UTCGHSA enrichment
- 2026-09-17 20:28 UTCVendor advisory
Show 75 moreShow fewer
- 2026-09-17 20:28 UTCGHSA enrichment
- 2026-09-17 16:10 UTCVendor advisory
- 2026-09-17 16:10 UTCGHSA enrichment
- 2026-09-17 11:53 UTCVendor advisory
- 2026-09-17 11:53 UTCGHSA enrichment
- 2026-09-17 07:35 UTCVendor advisory
- 2026-09-17 07:35 UTCGHSA enrichment
- 2026-09-17 03:17 UTCVendor advisory
- 2026-09-17 03:17 UTCGHSA enrichment
- 2026-09-16 22:59 UTCVendor advisory
- 2026-09-16 22:59 UTCGHSA enrichment
- 2026-09-16 18:41 UTCVendor advisory
- 2026-09-16 18:40 UTCGHSA enrichment
- 2026-09-16 14:23 UTCVendor advisory
- 2026-09-16 14:23 UTCGHSA enrichment
- 2026-09-16 14:10 UTCCISA KEV update
- 2026-09-16 10:04 UTCGHSA enrichment
- 2026-09-16 05:47 UTCVendor advisory
- 2026-09-16 05:47 UTCGHSA enrichment
- 2026-09-16 01:30 UTCVendor advisory
- 2026-09-16 01:30 UTCGHSA enrichment
- 2026-09-15 21:12 UTCVendor advisory
- 2026-09-15 21:12 UTCGHSA enrichment
- 2026-09-15 16:54 UTCVendor advisory
- 2026-09-15 16:54 UTCGHSA enrichment
- 2026-09-15 12:36 UTCVendor advisory
- 2026-09-15 12:36 UTCGHSA enrichment
- 2026-09-15 08:18 UTCVendor advisory
- 2026-09-15 08:18 UTCGHSA enrichment
- 2026-09-15 04:01 UTCVendor advisory
- 2026-09-15 04:01 UTCGHSA enrichment
- 2026-09-14 23:43 UTCVendor advisory
- 2026-09-14 23:43 UTCGHSA enrichment
- 2026-09-14 19:25 UTCVendor advisory
- 2026-09-14 19:25 UTCGHSA enrichment
- 2026-09-14 19:24 UTCCISA KEV update
- 2026-09-14 15:07 UTCVendor advisory
- 2026-09-14 15:07 UTCGHSA enrichment
- 2026-09-14 10:49 UTCVendor advisory
- 2026-09-14 10:49 UTCGHSA enrichment
- 2026-09-14 06:32 UTCVendor advisory
- 2026-09-14 06:32 UTCGHSA enrichment
- 2026-09-14 02:14 UTCVendor advisory
- 2026-09-14 02:14 UTCGHSA enrichment
- 2026-09-13 21:57 UTCVendor advisory
- 2026-09-13 21:57 UTCGHSA enrichment
- 2026-09-13 17:39 UTCVendor advisory
- 2026-09-13 17:39 UTCGHSA enrichment
- 2026-09-13 13:22 UTCVendor advisory
- 2026-09-13 13:22 UTCGHSA enrichment
- 2026-09-13 09:04 UTCVendor advisory
- 2026-09-13 09:04 UTCGHSA enrichment
- 2026-09-13 04:47 UTCVendor advisory
- 2026-09-13 04:46 UTCGHSA enrichment
- 2026-09-13 00:29 UTCVendor advisory
- 2026-09-13 00:29 UTCGHSA enrichment
- 2026-09-12 20:12 UTCVendor advisory
- 2026-09-12 20:11 UTCGHSA enrichment
- 2026-09-12 15:53 UTCVendor advisory
- 2026-09-12 15:53 UTCGHSA enrichment
- 2026-09-12 11:35 UTCVendor advisory
- 2026-09-12 11:35 UTCGHSA enrichment
- 2026-09-12 07:17 UTCVendor advisory
- 2026-09-12 07:17 UTCGHSA enrichment
- 2026-09-12 02:59 UTCVendor advisory
- 2026-09-12 02:59 UTCGHSA enrichment
- 2026-09-11 22:42 UTCVendor advisory
- 2026-09-11 22:41 UTCGHSA enrichment
- 2026-09-11 18:49 UTCCISA KEV update
- 2026-09-11 18:23 UTCVendor advisory
- 2026-09-11 18:23 UTCGHSA enrichment
- 2026-09-11 14:05 UTCVendor advisory
- 2026-09-11 14:05 UTCGHSA enrichment
- 2026-09-11 09:47 UTCVendor advisory
- 2026-09-11 09:47 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 ↗ - GitHub PoCmr-tuhin/CVE-2021-22204-exiftoolFirst seen Feb 21, 2022
exiftool exploit
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 ↗
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
See which npm, PyPI, Go, and Maven packages are affected by 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.