CVE-2021-22204
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
02 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
03 Exploitation and scoring
- Exploitation
- Exploited in the wild. Listed in the CISA Known Exploited Vulnerabilities catalog on 2021-11-17. Federal remediation due 2021-12-01.
- SSVC decision
- ExploitationactiveCISA reports credible evidence of active exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 99.98% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.9% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-04-23 17:22Z5 YR AGO
- Last updated
- 2025-10-21 23:25Z1 YR AGO
- Reserved
- 2021-01-05
- Assigning CNA
- GitLab
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.8)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- Weaknesses
- CWE-94Improper Control of Generation of Code ('Code Injection')Base
- Data version
- 5.1
- Document digest
- 4a73d0d4c8c264fe1247a193b5f8e593689396bdac346f0b087ee0730253d40e
05 Affected products
06 References
- github.comhttps://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800
- hackerone.comhttps://hackerone.com/reports/1154542
- gitlab.comhttps://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json
- www.debian.orgDSA-4910https://www.debian.org/security/2021/dsa-4910
- lists.fedoraproject.orgFEDORA-2021-de850ed71ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/
- lists.fedoraproject.orgFEDORA-2021-e3d8833d36https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/
- lists.fedoraproject.orgFEDORA-2021-88d24aa32bhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/
- www.openwall.com[oss-security] 20210509 [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious imagehttp://www.openwall.com/lists/oss-security/2021/05/09/1
- www.openwall.com[oss-security] 20210510 Re: [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious imagehttp://www.openwall.com/lists/oss-security/2021/05/10/5
- packetstormsecurity.comhttp://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html
- lists.debian.org[debian-lts-announce] 20210516 [SECURITY] [DLA 2663-1] libimage-exiftool-perl security updatehttps://lists.debian.org/debian-lts-announce/2021/05/msg00018.html
- packetstormsecurity.comhttp://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html
- packetstormsecurity.comhttp://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
- packetstormsecurity.comhttp://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html
- www.cisa.govhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22204
07 Fixed in
Arch Linux
- perl-image-exiftool Fixed in 12.25-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- libimage-exiftool-perl Fixed in 12.16+dfsg-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libimage-exiftool-perl Fixed in 12.16+dfsg-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libimage-exiftool-perl Fixed in 12.16+dfsg-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- libimage-exiftool-perl Fixed in 10.80-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- libimage-exiftool-perl Fixed in 11.88-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libimage-exiftool-perl Fixed in 10.10-1ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.