CVE-2021-22204

CRITICALNVD 6.89.0
EchelonGraph scoreHIGH confidence

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.

Triggered by: CISA KEV (actively exploited)
Sources: cisa_kev, epss, ghsa, nvd
Trending — 5 sources updated this weekExploited in the wild
9.0EG
EchelonGraph verdictPatch nowTreat as an emergency — this is being exploited.
  • Actively exploited in the wild (CISA-KEV)
CISA-KEV: ExploitedEPSS PROB: 100%CVSS: 6.8Exploit: cisa kev · ssvc active · Metasploit · epss top5pct · epss high · public exploitExposed: 0

A fix is available — apply it.

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

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 computed
Severity90% × 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
🔬 Proof of concept available. Patch available. Sources: github_commit.
generic Patch Available

[SECURITY] [DLA 2663-1] libimage-exiftool-perl security update

https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html
generic

2021/CVE-2021-22204.json · master · GitLab.org / GitLab CVE assignments · GitLab

https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json
github_commit

commit cf0f4e7dcd02 (exiftool/exiftool)

Fix landed in exiftool/exiftool commit cf0f4e7dcd02 — awaiting tagged release

https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800
generic🟡 PoC Available

oss-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/5
generic Patch Available

oss-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/1

Patch Availability(2)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntulibimage-exiftool-perl (12.16+dfsg-1ubuntu0.1) @ hirsute2026-07-26ubuntu
ubuntulibimage-exiftool-perl (10.10-1ubuntu0.1~esm1) @ xenial2026-07-26ubuntu

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 39× in last 7d / 275× 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 589 total refreshes for this CVE.

  1. 2026-07-28 05:52 UTCGHSA enrichment
  2. 2026-07-28 01:33 UTCGHSA enrichment
  3. 2026-07-27 21:16 UTCGHSA enrichment
  4. 2026-07-27 19:24 UTCCISA KEV update
  5. 2026-07-27 17:17 UTCCISA KEV update
  6. 2026-07-27 16:58 UTCGHSA enrichment
  7. 2026-07-27 12:40 UTCGHSA enrichment
  8. 2026-07-27 08:21 UTCGHSA enrichment
  9. 2026-07-27 04:04 UTCGHSA enrichment
  10. 2026-07-26 23:44 UTCGHSA enrichment
  11. 2026-07-26 19:26 UTCVendor advisory
  12. 2026-07-26 19:26 UTCGHSA enrichment
  13. 2026-07-26 15:07 UTCGHSA enrichment
  14. 2026-07-26 10:47 UTCEG score recompute
  15. 2026-07-26 10:47 UTCVendor advisory
  16. 2026-07-26 10:46 UTCGHSA enrichment
  17. 2026-07-26 06:29 UTCVendor advisory
  18. 2026-07-26 06:29 UTCGHSA enrichment
  19. 2026-07-26 02:11 UTCEG score recompute
  20. 2026-07-26 02:11 UTCVendor advisory
  21. 2026-07-26 02:11 UTCGHSA enrichment
  22. 2026-07-25 14:15 UTCEPSS rescore
  23. 2026-07-24 14:15 UTCEPSS rescore
  24. 2026-07-23 01:57 UTCEG score recompute
  25. 2026-07-22 23:26 UTCEG score recompute
Show 75 more
  1. 2026-07-22 23:26 UTCVendor advisory
  2. 2026-07-22 23:26 UTCGHSA enrichment
  3. 2026-07-22 22:44 UTCEG score recompute
  4. 2026-07-22 19:40 UTCCISA KEV update
  5. 2026-07-22 19:08 UTCGHSA enrichment
  6. 2026-07-22 14:49 UTCGHSA enrichment
  7. 2026-07-22 10:29 UTCGHSA enrichment
  8. 2026-07-22 06:11 UTCGHSA enrichment
  9. 2026-07-22 01:53 UTCGHSA enrichment
  10. 2026-07-21 21:35 UTCGHSA enrichment
  11. 2026-07-21 17:15 UTCGHSA enrichment
  12. 2026-07-21 14:37 UTCCISA KEV update
  13. 2026-07-21 12:57 UTCGHSA enrichment
  14. 2026-07-21 08:39 UTCGHSA enrichment
  15. 2026-07-21 04:20 UTCGHSA enrichment
  16. 2026-07-21 00:02 UTCVendor advisory
  17. 2026-07-21 00:02 UTCGHSA enrichment
  18. 2026-07-20 19:44 UTCVendor advisory
  19. 2026-07-20 19:44 UTCGHSA enrichment
  20. 2026-07-20 15:27 UTCVendor advisory
  21. 2026-07-20 15:27 UTCGHSA enrichment
  22. 2026-07-20 11:04 UTCVendor advisory
  23. 2026-07-20 11:04 UTCGHSA enrichment
  24. 2026-07-20 06:46 UTCVendor advisory
  25. 2026-07-20 06:46 UTCGHSA enrichment
  26. 2026-07-20 02:07 UTCGHSA enrichment
  27. 2026-07-19 21:49 UTCVendor advisory
  28. 2026-07-19 21:49 UTCGHSA enrichment
  29. 2026-07-19 17:32 UTCVendor advisory
  30. 2026-07-19 17:32 UTCGHSA enrichment
  31. 2026-07-19 13:15 UTCVendor advisory
  32. 2026-07-19 13:14 UTCGHSA enrichment
  33. 2026-07-19 08:57 UTCVendor advisory
  34. 2026-07-19 08:57 UTCGHSA enrichment
  35. 2026-07-19 04:39 UTCVendor advisory
  36. 2026-07-19 04:39 UTCGHSA enrichment
  37. 2026-07-19 00:21 UTCVendor advisory
  38. 2026-07-19 00:21 UTCGHSA enrichment
  39. 2026-07-18 20:03 UTCVendor advisory
  40. 2026-07-18 20:03 UTCGHSA enrichment
  41. 2026-07-18 15:45 UTCVendor advisory
  42. 2026-07-18 15:45 UTCGHSA enrichment
  43. 2026-07-18 11:27 UTCVendor advisory
  44. 2026-07-18 11:27 UTCGHSA enrichment
  45. 2026-07-18 07:09 UTCVendor advisory
  46. 2026-07-18 07:09 UTCGHSA enrichment
  47. 2026-07-18 02:51 UTCVendor advisory
  48. 2026-07-18 02:51 UTCGHSA enrichment
  49. 2026-07-17 22:33 UTCVendor advisory
  50. 2026-07-17 22:33 UTCGHSA enrichment
  51. 2026-07-17 18:16 UTCVendor advisory
  52. 2026-07-17 18:16 UTCGHSA enrichment
  53. 2026-07-17 13:55 UTCVendor advisory
  54. 2026-07-17 13:55 UTCGHSA enrichment
  55. 2026-07-17 09:38 UTCEG score recompute
  56. 2026-07-17 09:38 UTCGHSA enrichment
  57. 2026-07-17 05:20 UTCGHSA enrichment
  58. 2026-07-17 01:03 UTCGHSA enrichment
  59. 2026-07-16 20:44 UTCVendor advisory
  60. 2026-07-16 20:44 UTCGHSA enrichment
  61. 2026-07-16 17:04 UTCCISA KEV update
  62. 2026-07-16 16:26 UTCGHSA enrichment
  63. 2026-07-16 12:08 UTCGHSA enrichment
  64. 2026-07-16 07:50 UTCVendor advisory
  65. 2026-07-16 07:50 UTCGHSA enrichment
  66. 2026-07-16 03:32 UTCVendor advisory
  67. 2026-07-16 03:32 UTCGHSA enrichment
  68. 2026-07-15 23:14 UTCGHSA enrichment
  69. 2026-07-15 18:56 UTCVendor advisory
  70. 2026-07-15 18:56 UTCGHSA enrichment
  71. 2026-07-15 16:49 UTCCISA KEV update
  72. 2026-07-15 15:04 UTCCISA KEV update
  73. 2026-07-15 14:38 UTCGHSA enrichment
  74. 2026-07-15 10:19 UTCGHSA enrichment
  75. 2026-07-15 06:02 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.

  • GitHub PoCAkash7350/CVE-2021-22204
    First seen May 14, 2023
    Open source ↗
  • Exploit-DBEDB-50911
    First seen May 11, 2022

    ExifTool 12.23 - Arbitrary Code Execution

    Open source ↗
  • GitHub PoCUNICORDev/exploit-CVE-2021-22204
    First seen Apr 16, 2022

    Exploit for CVE-2021-22204 (ExifTool) - Arbitrary Code Execution

    Open source ↗
  • GitHub PoCtrganda/CVE-2021-22204
    First seen Dec 29, 2021
    Open source ↗
  • GitHub PoCph-arm/CVE-2021-22204-Gitlab
    First seen Nov 4, 2021

    Modification of gitlab exploit anything under 13.10

    Open source ↗
  • GitHub PoCPenTestical/CVE-2021-22204
    First seen Aug 2, 2021
    Open source ↗
  • GitHub PoCAssassinUKG/CVE-2021-22204
    First seen Aug 2, 2021
    Open source ↗
  • Metasploitexploit/unix/fileformat/exiftool_djvu_ant_perl_injection✓ verified
    First seen May 24, 2021

    ExifTool DjVu ANT Perl injection

    Open source ↗
  • GitHub PoCbilkoh/POC-CVE-2021-22204
    First seen May 21, 2021

    POC for exiftool vuln (CVE-2021-22204).

    Open source ↗
  • GitHub PoCse162xg/CVE-2021-22204
    First seen May 12, 2021

    exiftool arbitrary code execution vulnerability

    Open source ↗

Frequently asked(6)

What is CVE-2021-22204?
CVE-2021-22204 is a critical vulnerability published on April 23, 2021. 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
When was CVE-2021-22204 disclosed?
CVE-2021-22204 was first published in the National Vulnerability Database on April 23, 2021, with the most recent update on November 3, 2025. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2021-22204 actively exploited?
Yes. CISA added CVE-2021-22204 to the Known Exploited Vulnerabilities catalog on November 17, 2021, affecting Perl Exiftool. KEV listing indicates confirmed exploitation in the wild; this CVE warrants immediate patching attention.
What is the CVSS score of CVE-2021-22204?
CVE-2021-22204 has a CVSS v3 base score of 6.8 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 9.0.
Which products are affected by CVE-2021-22204?
CVE-2021-22204 affects Perl Exiftool. The full affected-products list, including version ranges and fixed versions, is shown in the Affected Packages section of this page.
How do I remediate CVE-2021-22204?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2021-22204, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2021-22204

Explore →

Is Your Infrastructure Affected by CVE-2021-22204?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.