CVE-2021-22204
Exploitation confirmed. First attested on 2021-11-17 by CISA-ADP, CISA KEV, GCVE · kevintel.
- Published2021-04-23
- WeaknessCWE-94
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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
Timeline
dates in UTC- 2021-04-2318:15CVE publishedNVD
- 2021-11-17Added to the CISA KEV catalogCISA KEV
- 2021-11-17Listed as exploited by GCVEGCVE
- 2021-11-17Exploitation first reportedCISA KEV
- 2022-05-11Exploit-DB entryExploit-DB
- 2025-02-0619:49SSVC exploitation set to activeCISA-ADP
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-22204?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-22204?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 32.x | = 32 | no fix published | NVD |
| 33.x | = 33 | no fix published | NVD |
| 34.x | = 34 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.24 | ≥ 7.44, < 12.24 | 12.24 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitLab, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- ExifToolAffected
- = >=7.44, <12.24no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-05-11
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libimage-exiftool-perlUbuntu:Pro:16.04:LTSall versions · fixed in 10.10-1ubuntu0.1~esm1
- libimage-exiftool-perlUbuntu:20.04:LTSall versions · fixed in 11.88-1ubuntu0.1
- libimage-exiftool-perlUbuntu:18.04:LTSall versions · fixed in 10.80-1ubuntu0.1
- libimage-exiftool-perlDebian:14all versions · fixed in 12.16+dfsg-2
- libimage-exiftool-perlDebian:13all versions · fixed in 12.16+dfsg-2
- libimage-exiftool-perlDebian:12all versions · fixed in 12.16+dfsg-2
- libimage-exiftool-perlDebian:10all versions · fixed in 11.16-1+deb10u1
- libimage-exiftool-perlDebian:9all versions · fixed in 10.40-1+deb9u1
18 more package ranges on OSV.dev
Vendor advisories
- CVE-2021-22204 Red Hat Product Security
perl-Image-ExifTool: improper neutralization of user data in the DjVu file format allows arbitrary code execution when parsing a malicious image
Fix
- CISA’s required action: Apply updates per vendor instructions.due 2021-12-01
Advisories and patches
- github.comPatch
- lists.fedoraproject.orgRelease Notes
- lists.fedoraproject.orgRelease Notes
- lists.fedoraproject.orgRelease Notes
Detection
read 2026-11-02 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof-of-concept repositories
- 17 repositories, unverifiedconvisolabs/CVE-2021-22204-exiftoolse162xg/CVE-2021-22204bilkoh/POC-CVE-2021-22204PenTestical/CVE-2021-22204AssassinUKG/CVE-2021-22204 PoC-in-GitHub
- Metasploit modules
- 2 modulesexploit/multi/http/gitlab_exif_rcerank: excellentexploit/unix/fileformat/exiftool_djvu_ant_perl_injectionrank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2021-11-17
- Patch Due Date
- 2021-12-01
- Ransomware Use
- Unknown
- Required Action
- Apply updates per vendor instructions.
Sources
- CISA KEVKEV entry2021-11-17
- ENISA EUVDexploitation2021-11-172021-11-17
- GCVEexploitation2021-11-17
- CISA-ADPSSVC decisionactive2025-02-06
- OpenCVESSVC decisionactive—
- CNACVSS 3.16.8known since 2026-10-23
- NVDCVSS 3.17.8read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- CISA-ADPweakness (CWE)CWE-942025-02-06
- NVDweakness (CWE)CWE-94read 2026-10-23
- FIRST EPSSEPSS score99.9 %read 2026-11-02
- PoC-in-GitHubproof of concept17read 2026-11-02
- Exploit-DBdetectionread 2026-11-02
- Metasploit FrameworkMetasploit modules2known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2021-9350same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-9377-7hwr-p4w6same flawGitHub Advisory Database · CC-BY-4.0
- exploit/multi/http/gitlab_exif_rceexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- exploit/unix/fileformat/exiftool_djvu_ant_perl_injectionexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- DLA-2663-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4910-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0259advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2021:0707-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- USN-4987-1advisory covering several CVEsUbuntu
- USN-4987-2advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2021-04-23
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-9377-7hwr-p4w6
Frequently asked questions
What is CVE-2021-22204?
Is CVE-2021-22204 actively exploited?
What is the CVSS score for CVE-2021-22204?
Running perl-Image-ExifTool? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-9377-7hwr-p4w6
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0