CVE-2021-22204
ExifTool Remote Code Execution Vulnerability
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
Description as published by the source, in English.
Key facts
- Published
- 2021-04-23
- Last modified
- 2026-06-17
- Assigned by
- cve@gitlab.com
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
100.0 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2021-11-17, with a remediation deadline of 2021-12-01 for US federal agencies.
Required action: Apply updates per vendor instructions.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 10.0 | Affected |
| Debian | Debian Linux | 9.0 | Affected |
| Exiftool Project | Exiftool | ≥ 7.44, < 12.24 | Affected |
| Fedoraproject | Fedora | 32 | Affected |
| Fedoraproject | Fedora | 33 | Affected |
| Fedoraproject | Fedora | 34 | Affected |
Weakness type
-
CWE-94: Improper Control of Generation of Code
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or b…
-
CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1027.006: HTML Smuggling
- T1027.009: Embedded Payloads
- T1564.009: Resource Forking
References
- http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Comman…
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2021/05/09/1
- http://www.openwall.com/lists/oss-security/2021/05/10/5
- https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff…
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json
- https://hackerone.com/reports/1154542
- https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://www.debian.org/security/2021/dsa-4910
- http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Comman…
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2021/05/09/1
- http://www.openwall.com/lists/oss-security/2021/05/10/5
Related at Berigo
Articles
-
An eighteen-year-old Linux kernel flaw hands ordinary users root
Same product
2026-08-08
Tencent Zhuque Lab has found a flaw in the SCTP part of the Linux kernel that has been there since 2008. An ordinary user can use it to gain root, an…
-
Bad Epoll grants root access in the Linux kernel
Same product
2026-07-03
CVE-2026-46242 is a use-after-free in the Linux kernel's epoll that lets an unprivileged process gain root on servers, desktops and Android devices.
-
Twelve-year-old PackageKit flaw affects widely used Linux distributions
Same product
2026-04-22
Deutsche Telekom's red team has found a CVSS 8.8 privilege escalation flaw in the PackageKit daemon, fixed in version 1.3.5.
-
CrackArmor: nine AppArmor flaws enable root access and container escape
Same product
2026-03-13
Qualys has disclosed nine AppArmor vulnerabilities dating back to 2017, affecting more than 12.6 million enterprise systems.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.