# CVE-2021-22204: ExifTool Remote Code Execution Vulnerability

- Severity: Medium 6.8 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: yes. In CISA's catalogue since 2021-11-17. Apply updates per vendor instructions.
- Likelihood of exploitation in the next 30 days (EPSS): 99.9%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 5 links below, marked "exploit"
- Published: 2021-04-23T17:22:15.000Z
- Modified: 2026-06-17T03:36:47.890Z
- Weaknesses: CWE-94, CWE-95
- SSVC (CISA-ADP): exploitation active, automatable no, technical impact partial
- Assigned by: GitLab

## 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

(As written by CVE List.)

## Affected

- ExifTool ExifTool: >=7.44, <12.24
- exiftool_project exiftool: from 7.44 before 12.24
- debian debian_linux: 9.0; 10.0
- fedoraproject fedora: 32; 33; 34
- Perl Exiftool: no versions given

## Every score

- GitLab: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://hackerone.com/reports/1154542> (exploit, issue-tracking, third-party-advisory)
- <http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html> (exploit, third-party-advisory, vdb-entry)
- <http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html> (exploit, third-party-advisory, vdb-entry)
- <http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html> (exploit, third-party-advisory, vdb-entry)
- <http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800> (patch)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json> (third-party-advisory)
- <https://www.debian.org/security/2021/dsa-4910> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/> (release-notes, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/> (release-notes, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/> (release-notes, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2021/05/09/1> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/05/10/5> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html> (mailing-list, third-party-advisory)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22204> (government-resource, us-government-resource)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22204> (kev)

## Sources

- CVE List: [CVE-2021-22204](https://www.cve.org/CVERecord?id=CVE-2021-22204), CVE Terms of Use, modified 2025-10-21
- NVD: [CVE-2021-22204](https://nvd.nist.gov/vuln/detail/CVE-2021-22204), Public domain, modified 2026-06-17
- CISA KEV: [CVE-2021-22204](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-22204), CC0-1.0, modified 2021-11-17

---

Page: https://cve.day/CVE-2021-22204 · Whole record: https://cve.day/CVE-2021-22204.json · Rebuilt by cve.day 2026-11-25T22:58:01.020Z
