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
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- Confirmed exploitation (CISA KEV)+35
- Public exploit/PoC (metasploit, exploitdb, github)+20
- EPSS 100% (30-day exploitation probability)+15
- Technical severity (high)+6
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented patch — github.com (NIST National Vulnerability Database)
CISA required action CISA
Apply updates per vendor instructions.
US federal deadline: Dec 1, 2021 — passed 1779 day(s) ago
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Debian Debian Linux, ExifTool ExifTool, Exiftool Project Exiftool…).
- Treat as emergency remediation: the CVE is in CISA KEV (confirmed exploitation).
- Apply the fixed version or the patch documented under Remediation.
- Exploitation requires user interaction: tighten email/web filtering and warn affected users.
- EPSS ahead of 100% of scored CVEs: prioritize it in the patch queue.
- Search available logs for exploit probes matching the vulnerability class (injection), errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Debian | Debian Linux | version 9.0version 10.0 | Vulnerable | NIST National Vulnerability Database |
| ExifTool | ExifTool | version >=7.44, <12.24 | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Exiftool Project | Exiftool | ≥ 7.44 and < 12.24 | Vulnerable | NIST National Vulnerability Database |
| Fedoraproject | Fedora | version 32version 33version 34 | Vulnerable | NIST National Vulnerability Database |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 7.8 | CVSS 3.1 | High | 1.8 | 5.9 | nvd@nist.gov via NIST National Vulnerability Database |
| 7.8 | CVSS 3.1 | High | — | — | GitHub, Inc. via GitHub Security Advisories |
| 6.8 | CVSS 3.1 | Medium | 2.5 | 3.7 | cve@gitlab.com via NIST National Vulnerability Database |
| 6.8 | CVSS 3.1 | Medium | — | — | GitLab via CVE Program (cve.org) e CISA ADP |
| 6.8 | CVSS 2.0 | Medium | 8.6 | 6.4 | nvd@nist.gov via NIST National Vulnerability Database |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (score shown at the top: nvd@nist.gov) Weakness MITRE
Weakness class according to MITRE’s CWE catalog.
CISA KEV details CISA
CISA lists a CVE once it has evidence of exploitation against real targets.
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 reference date.
Public exploits, PoCs and detection templates
Public code that demonstrates or tests the flaw raises the odds of mass exploitation — and Nuclei templates help find vulnerable assets in your environment.
- GitLab Unauthenticated Remote ExifTool Command Injection excellent Apr 14, 2021
- ExifTool DjVu ANT Perl injection excellent May 24, 2021
- ExifTool 12.23 - Arbitrary Code Execution May 11, 2022
- Python exploit for the CVE-2021-22204 vulnerability in Exiftool ★ 98 May 11, 2021
- Exploit for CVE-2021-22204 (ExifTool) - Arbitrary Code Execution ★ 55 Apr 16, 2022
- AssassinUKG/CVE-2021-22204 ★ 28 Aug 2, 2021
- exiftool arbitrary code execution vulnerability ★ 12 May 12, 2021
- exiftool exploit ★ 9 Feb 21, 2022
- POC for exiftool vuln (CVE-2021-22204). ★ 8 May 21, 2021
- Akash7350/CVE-2021-22204 ★ 4 May 14, 2023
- PenTestical/CVE-2021-22204 ★ 3 Aug 2, 2021
- trganda/CVE-2021-22204 ★ 3 Dec 29, 2021
- Modification of gitlab exploit anything under 13.10 ★ 2 Nov 4, 2021
Warning: public PoCs are sometimes disguised malware. Use them only for authorized testing in an isolated environment. This portal does not host exploit code — it only points to the sources.
EPSS over time FIRST
Oct 13, 2026 → Oct 14, 2026 · 2 reading(s) · max 99.98%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Local/physical vector: focus on endpoint telemetry (EDR) from affected hosts.
- Look for parameters with command/query metacharacters and unexpected child processes of the service.
- Hunt retroactively in logs from before Nov 17, 2021 (KEV listing): exploitation may have started earlier.
Timeline
What happened to this CVE, newest first.
- 2026
- Affected products added · exiftool/exiftool
- SSVC assessment updated
- Record published
- Fix documented
- Affected products added · exiftool project/exiftool, debian/debian linux, fedoraproject/fedora
- CVSS changed · 7.8
- Source status changed · → Analyzed
- Added to CISA KEV (detected)
- Record created in this database
- 2021
- Added to CISA KEV catalog
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 2× References added · Oct 13, 2026 – Oct 13, 2026
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
23 on the record
- github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031
- www.cisa.gov/known-exploited-vulnerabilities-catalog
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF
- packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection
- nvd.nist.gov/vuln/detail/CVE-2021-22204
- www.debian.org/security/2021/dsa-4910
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F6UOBP
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKD
- packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DDKDLJ
- gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UO
- packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html
- github.com/advisories/GHSA-9377-7hwr-p4w6
- lists.debian.org/debian-lts-announce/2021/05/msg00018.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UO
- www.openwall.com/lists/oss-security/2021/05/09/1
- www.openwall.com/lists/oss-security/2021/05/10/5
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKD
- packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
- hackerone.com/reports/1154542
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U4RF6P
Elsewhere on this site
Related CVEs (same products)
- High CVE-2026-12996 A use-after-free in OpenVPN 2.6.0 through 2.6.20 and 2.7_alpha1 through 2.7.4 allows remote... Jul 30, 2026
- Medium CVE-2026-14355 ext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PAD Jul 3, 2026
- Medium CVE-2026-56968 Use of Uninitialized Resource in Gnu Sasl Jun 23, 2026
- Medium CVE-2026-54231 Abrt: unsanitized systemd journal content written to dump directory files enables content injection Jun 13, 2026
- High CVE-2026-54230 Abrt: event handler scripts follow symlinks when writing output files, allowing arbitrary file overwrites Jun 13, 2026
- High CVE-2026-49975 Apache HTTP Server: mod_http2 denial of service Jun 8, 2026
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.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware 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 record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2021-22204 is "ExifTool Remote Code Execution Vulnerability", rated High. It affects Debian Linux (Debian); versions are in the scope table. It is in CISA KEV: there is evidence of real-world exploitation. CVSS 7.8 describes technical severity. EPSS 99.98% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.