CVE-2021-22204Perl Exiftool
Remote Code Execution in ExifTool when Processing DjVu Files
High 7.8 KEV High EPSS
Follow: this CVE · Perl · Perl Exiftool We alert you by email or Slack (account required).
- Priority
- 57
- CVSS 3.1
- 7.8
- EPSS
- 100.0% probability of exploitation in 30 days · percentile 100
- Auth required
- Yes
- In KEV since
- Nov 17, 2021
- CISA deadline
- Dec 1, 2021
- Ransomware use
- Unknown
- Published
- Apr 23, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
ExifTool versions 7.44 through 12.23 contain an improper neutralization flaw in DjVu file handling that allows arbitrary code execution. An attacker can execute malicious commands when processing a specially crafted DjVu image. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
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
Exploitation confirmed by CISA
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
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 12.24
Update ExifTool to version 12.24 or later. Avoid processing DjVu files from untrusted sources until patched.
- Apply the vendor's security update for Exiftool.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was December 1, 2021.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| exiftool_project | exiftool | ≥ 7.44 < 12.24 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- github.com Patch
- gitlab.com Third Party Advisory
- hackerone.com Exploit Issue Tracking Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org Release Notes
- lists.fedoraproject.org Release Notes
- lists.fedoraproject.org Release Notes
- www.debian.org Mailing List Third Party Advisory
- www.cisa.gov US Government Resource