CVE-2021-22204
CVE-2021-22204 — ExifTool Remote Code Execution Vulnerability
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
Published Updated Sources: NVD, ExifTool (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Nov 17, 2021
EPSS
100%
top of FIRST's scoreset
CVSS base
7.8
high · 4 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade ExifTool to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline Dec 1, 2021 — passed 1,829 days ago
Red Hat VEX · CVE-2021-22204
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| ExifTool | ExifTool | >=7.44, <12.24 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Local
Privileges Req
None
User Interaction
Required
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.8 | CVSS 3.1 | medium | 2.5 | 3.7 | gitlab.com (CNA), ExifTool (CNA), Red Hat (VEX) |
| 7.8 | CVSS 3.1 | high | 1.8 | 5.9 | NVD |
| 6.8 | CVSS 2.0 | medium | 8.6 | 6.4 | NVD |
| 7.8 | CVSS 3.1 | medium | n/a | n/a | GHSA |
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Bypass Protection Mechanism
- Gain Privileges or Assume Identity
- Execute Unauthorized Code or Commands
- Hide Activities
Mitigation: Refactor your program so that you do not have to dynamically generate code.
Weakness & attack patterns
- CWE-94Code Injection
- CWE-74Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Nov 17, 2021
Federal deadline
Dec 1, 2021
passed 1,829 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
100
Exploit entries
30
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
1/ GitLab used ExifTool to process metadata from uploaded files. But a vulnerability in ExifTool itself, CVE-2021-22204, allowed arbitrary code execution.
@NimaAshrafi131· Aug 28, 2026
@Urdenoso (CVE-2021-22204). De nuevo. Lo explico de nuevo. No pienses literalmente. Pensa en una llm sin restricciones a la que podes entrenar con lo que quieras. Trata de ver el bosque 🌳
@EdavPerez· Jan 16, 2026
Detection rules
Sigma and YARA rules a source published for this CVE — the only detection content any connected source supplies.

Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Monitor for scanner or exploit-pattern traffic after 130 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- hash7ee4cff78f05bcdbbcff280939932d47f4087158e07b03f0beb139f1dae9546a53
Public Malware Feeds · Jul 20, 2026
- hashd3a0cf5276ac3e138806994a3dcd0c470f07e912930b8291396ea95ff458d095
Public Malware Feeds · Sep 4, 2022
- hash409e3743b6557b291ee0d300fadc75aa
SOCRadar Threat Exchange Services · Sep 11, 2026
- hash2d399f7ecffb89ee326e456ab16ac8d8da9a6dfe
SOCRadar Threat Exchange Services · Aug 26, 2026
- hash9e8fc0e5640173dde371b367ffff4bd2e63c949b85d26f099da1804aac2c9428
SOCRadar Threat Exchange Services · Aug 26, 2026
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited cyfrowesny/exiftool-7.44-12.23-exploit-CVE-2021-22204
Nov 21, 2026 · SOCRadar CTI
Cve is exploited d4ytox/CVE-2021-22204
Jun 22, 2026 · SOCRadar CTI
Added · CVSS 3.1 7.8 (AV:L)
Jun 17, 2026 · NVD
Cve is exploited TeddyEngel/CVE-2021-22204
May 21, 2026 · SOCRadar CTI
- 2025
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
- 2022
Added · GHSA-9377-7hwr-p4w6 published (medium)
May 24, 2022 · GitHub Security Advisory
Added · local entry: ExifTool 12.23 - Arbitrary Code Execution
May 11, 2022 · Exploit-DB
- 2021
Added to CISA KEV catalog
Nov 17, 2021 · CISA
Initial · CVE published
Apr 23, 2021 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 6×Github ReposFeb 25, 2025 – Nov 21, 2026 · SOCRadar CTI
- 6×SVRS was changedOct 29, 2025 – Aug 31, 2026 · SOCRadar CTI
- 6×ModifiedMar 13, 2025 – Nov 3, 2025 · SOCRadar CTI
- 2×Tweets · 1 time tweeted.Jan 17, 2026 – Aug 29, 2026 · SOCRadar CTI
- 2×2 times mentioned on 1 Telegram channelsMay 25, 2026 – May 26, 2026 · SOCRadar CTI
- 1×CVE appeared in the Cve Trends.Jun 26, 2026 · SOCRadar CTI
References
23 on the record
- packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html
Exploit, Third Party Advisory, VDB Entry, NIST
- packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html
Exploit, Third Party Advisory, VDB Entry, NIST
- packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
Exploit, Third Party Advisory, VDB Entry, NIST
- packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html
Exploit, Third Party Advisory, VDB Entry
- www.openwall.com/lists/oss-security/2021/05/09/1
Mailing List, Third Party Advisory, NIST, Mitre
- www.openwall.com/lists/oss-security/2021/05/10/5
Mailing List, Third Party Advisory, NIST, Mitre
- github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800
Patch, MITRE_REFERENCES, NIST
- gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json
Third Party Advisory, NIST, MITRE_REFERENCES
Coverage
2 stories from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-32432 Craft CMS Allows Remote Code ExecutionCVSS 10.0 · CISA KEV
- CVE-2025-20337 Cisco ISE API Unauthenticated Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-20281 Cisco ISE API Unauthenticated Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2024-4040 CrushFTP VFS Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2022-24816 Improper Control of Generation of Code in jai-extCVSS 10.0 · CISA KEV
- CVE-2022-22947 VMware Spring Cloud Gateway Code Injection VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- ExifToolevery CVE for this vendor
- ExifToolevery page on this product
- November 2021what else CISA listed
- Remote Code Execsame class
- CWE-94other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2021-22204 is ExifTool Remote Code Execution Vulnerability, a high vulnerability affecting ExifTool from ExifTool. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 130 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.8 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.