Perl · Exiftool · CWE-95 · published 2021-04-23
CVE-2021-22204ExifTool Remote Code Execution Vulnerability
This week Known exploited in the wild.
CVE-2021-22204 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2021-11-17. EPSS estimates a 100% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Exiftool vulnerability: CVSS 6.8 (v3.1). Patched packages are out for Debian and Ubuntu. US federal agencies must remediate by 2021-12-01. Patch this week.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA required action: Apply updates per vendor instructions. (federal due date 2021-12-01)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | libimage-exiftool-perl | Fixed in 12.16+dfsg-2 |
| 12 bookworm | libimage-exiftool-perl | Fixed in 12.16+dfsg-2 | |
| Ubuntu | 20.04 LTS | libimage-exiftool-perl | Fixed in 11.88-1ubuntu0.1 |
| 18.04 LTS | libimage-exiftool-perl | Fixed in 10.80-1ubuntu0.1 |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Other softwarePerl Exiftool
Remote Code ExecutionCVE-2021-22204
Why: Known exploited in the wild.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2021-11-17 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 100% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 6.8 (v3.1)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Weakness: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code
More from this vendor: all Perl vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- ExifTool ExifTool
>=7.44, <12.24(affected)
Description (from the CVE record)#
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
Quoted from the CVE Program record.