CVE-2021-22204ExifTool Code Injection
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
Published Apr 23, 2021 · Updated Nov 3, 2026 · Also known as ALPINE-CVE-2021-22204, CLEANSTART-2024-VE33970, DEBIAN-CVE-2021-22204, DLA-2663-1, DSA-4910-1, MGASA-2021-0259, UBUNTU-CVE-2021-22204, USN-4987-1, USN-4987-2, openSUSE-SU-2021:0707-1
Key Facts
Patch immediately- CVE-2021-22204 is a high-severity vulnerability (CVSS 7.8 v3.1) affecting ExifTool (Exiftool Project), Debian Linux, Fedora (Fedoraproject) and 3 more products.
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Sep 30, 2021. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 100% probability of exploitation in the next 30 days.
- Fixed versions are available, including ExifTool 12.25-bp152.4.3.1, ExifTool 12.24, libimage-exiftool-perl 10.10-1ubuntu0.1~esm1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
100%
Higher than 99.9% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
83/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Nov 17, 2021
208 days after publication
Federal due date
Dec 1, 2021
Overdue
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
7
Proof-of-concept links
In-the-wild evidence
5
Reports of active use
Required action (CISA): Apply updates per vendor instructions.
Advisories And Exploit References
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2021-22204
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2021-22204
- advisoryhttps://ubuntu.com/security/CVE-2021-22204
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2021-22204
- advisoryhttps://advisories.mageia.org/MGASA-2021-0259.html
- advisoryhttps://bugs.launchpad.net/bugs/1925985
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
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Nov 17, 2021 | Dec 1, 2021 | Not reported |
| Industry KEV feed | Sep 30, 2021 | Dec 1, 2021 | Not reported |
| CIRCL KEV | Nov 17, 2021 | Dec 1, 2021 | Not reported |
| ENISA EUVD | Nov 17, 2021 | n/a | Not reported |
Required action: Apply updates per vendor instructions.
Affected Products
52 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| ExifToolExiftool Project | >=7.44, <12.24 | 12.24 |
| Debian LinuxDebian | 10.0, 9.0 | n/a |
| FedoraFedoraproject | 32, 33, 34 | n/a |
| perl-Image-ExifToolarch | See advisory | 12.25-1 |
| libimage-exiftool-perldebian | See advisory | 12.16+dfsg-2 |
Patched Releases
ExifTool
12.25-bp152.4.3.1, 12.24
libimage-exiftool-perl
10.10-1ubuntu0.1~esm1, 10.40-1+deb9u1, 10.80-1ubuntu0.1, 11.16-1+deb10u1, 11.88-1ubuntu0.1, 12.16+dfsg-2
perl-File-RandomAccess
12.25-bp152.4.3.1
perl-Image-ExifTool
12.24-r0, 12.25-1, 11.300.0-1.1.mga7, 12.0.0-1.1.mga8, 12.25-bp152.4.3.1
Timeline
Publicly disclosed
Apr 23, 2021
Added to Industry KEV feed
Sep 30, 2021
Added to CISA KEV
Nov 17, 2021
Added to CIRCL KEV
Nov 17, 2021
Added to ENISA EUVD
Nov 17, 2021
Last updated
Nov 3, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
References
- advisorysecurity.alpinelinux.org · CVE-2021-22204
- advisorysecurity-tracker.debian.org · CVE-2021-22204
- advisoryubuntu.com · CVE-2021-22204
- advisorycve.org · CVERecord
- advisoryadvisories.mageia.org · MGASA-2021-0259.html
FAQ
Common Questions.
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: ExifTool (Exiftool Project) versions >=7.44, <12.24; Debian Linux versions 10.0, 9.0; Fedora (Fedoraproject) versions 32, 33, 34, among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Sep 30, 2021.
Yes. It was added on Nov 17, 2021 with a federal remediation due date of Dec 1, 2021.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including ExifTool 12.25-bp152.4.3.1, ExifTool 12.24, libimage-exiftool-perl 10.10-1ubuntu0.1~esm1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2021-22204 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo