CVE-2021-22204
CONFIRMED EXPLOITEDExifTool Remote Code Execution Vulnerability
Is Perl Exiftool affected by CVE-2021-22204?
Perl Exiftool is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2021-22204, added on 2021-11-17. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (6 vulnerable CPE entries): debian debian_linux, exiftool_project exiftool and fedoraproject fedora.
Published CPE version bounds mark releases below 12.24 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2021-12-01.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-90817Shared weaknessVanderbilt University Research Electronic Data Capture (REDCap)
Vanderbilt University Research Electronic Data Capture (REDCap) Code Injection Vulnerability
- CVE-2026-40217Shared weaknessBerriAI LiteLLM
BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
- CVE-2026-115731Shared weaknessPerforce Puppet Enterprise
Perforce Puppet Enterprise Deserialization of Untrusted Data Vulnerability
- CVE-2026-0322Shared weaknessPalo Alto Networks PAN-OS
Palo Alto Networks PAN-OS Code Injection Vulnerability
- CVE-2021-42258Neighboring entryBQE BillQuick Web Suite
BQE BillQuick Web Suite SQL Injection Vulnerability
- CVE-2021-40449Neighboring entryMicrosoft Windows
Microsoft Windows Win32k Privilege Escalation Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2021-11-17. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Exiftool has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Kernel / local privilege surface (Perl Exiftool): monitor endpoint syscall and process telemetry (`Linux auditd`, `Tetragon` eBPF LSM/kprobe policies, Windows Security Event IDs 4672/4688 & Sysmon, `Velociraptor` VQL) for unexpected UID/token elevation, namespace escapes, or unauthorized child processes.
- Inventory all hosts running Perl Exiftool and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://www.openwall.com/lists/oss-security/2021/05/09/1Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/10/5Mailing ListThird Party Advisory
- https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800Patch
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.jsonThird Party Advisory
- https://hackerone.com/reports/1154542ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00018.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/Release Notes
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/Release Notes
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/Release Notes
- https://www.debian.org/security/2021/dsa-4910Mailing ListThird Party Advisory
- http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://www.openwall.com/lists/oss-security/2021/05/09/1Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/10/5Mailing ListThird Party Advisory
- https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800Patch
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.jsonThird Party Advisory
- https://hackerone.com/reports/1154542ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00018.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/Release Notes
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting