CVE-2021-22204
Improper neutralization of user data in the DjVu file format in ExifTool versions 7.44 and up allows arbitrary code exe…
Also known as EDB-50911
Mitigation
- Upgrade ExifTool to 12.24 or later.
Who should check
- Anyone running ExifTool >=7.44, <12.24
Vulnerability facts
- Affected
- ExifTool >=7.44, <12.24
- Fixed in
- ExifTool 12.24
- Exploited in the wild
- Yes: in CISA KEV since 2021-11-17; federal due date 2021-12-01
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 99.98% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-94
- Modified
Description
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| ExifTool | >=7.44, <12.24 | — | cvelist |
Timeline
- 2021-04-23 Published
- 2021-11-17 Added to CISA KEV (exploited in the wild)
- 2021-12-01 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-22204. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-22204.md Affected: ExifTool >=7.44, <12.24 Fixed in: ExifTool 12.24 Steps: 1. Search this machine and project for ExifTool: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://www.debian.org/security/2021/dsa-4910
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/
Exploits and PoCs
- https://hackerone.com/reports/1154542
- http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html
- https://www.exploit-db.com/exploits/50911
Other
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json
- http://www.openwall.com/lists/oss-security/2021/05/09/1
- http://www.openwall.com/lists/oss-security/2021/05/10/5
- https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22204
FAQ
Is CVE-2021-22204 being exploited?
Yes. CISA lists CVE-2021-22204 in its Known Exploited Vulnerabilities catalog since 2021-11-17, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 99.98% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-22204?
Medium: CVSS 6.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-22204?
ExifTool >=7.44, <12.24.
Is there a fix for CVE-2021-22204?
Yes. Fixed in ExifTool 12.24. Upgrade ExifTool to 12.24 or later.
How do I check if I'm affected by CVE-2021-22204?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.