CVE-2021-22204

Summary

CVECVE-2021-22204
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-04-23 18:15:00 UTC
Updated2023-11-07 03:30:00 UTC
DescriptionImproper 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

Risk And Classification

EPSS: 0.928560000 probability, percentile 0.997650000 (date 2026-04-01)

CISA KEV: Listed on 2021-11-17; due 2021-12-01; ransomware use Unknown

Problem Types: CWE-94

CISA Known Exploited Vulnerability

VendorPerl
ProductExiftool
NameExifTool Remote Code Execution Vulnerability
Required ActionApply updates per vendor instructions.
Noteshttps://nvd.nist.gov/vuln/detail/CVE-2021-22204

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Exiftool Project Exiftool All All All All
Operating System Fedoraproject Fedora 32 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All

References

ReferenceSourceLinkTags
GitLab Unauthenticated Remote ExifTool Command Injection ≈ Packet Storm MISC packetstormsecurity.com
[SECURITY] Fedora 33 Update: perl-Image-ExifTool-12.16-3.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
oss-security - Re: [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious image MLIST www.openwall.com
2021/CVE-2021-22204.json · master · GitLab.org / cves · GitLab CONFIRM gitlab.com
[SECURITY] Fedora 34 Update: perl-Image-ExifTool-12.16-3.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
oss-security - [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious image MLIST www.openwall.com
Debian -- Security Information -- DSA-4910-1 libimage-exiftool-perl DEBIAN www.debian.org
GitLab 13.10.2 Remote Code Execution ≈ Packet Storm MISC packetstormsecurity.com
ExifTool DjVu ANT Perl Injection ≈ Packet Storm MISC packetstormsecurity.com
[SECURITY] Fedora 32 Update: perl-Image-ExifTool-12.16-3.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] [DLA 2663-1] libimage-exiftool-perl security update MLIST lists.debian.org
[SECURITY] Fedora 34 Update: perl-Image-ExifTool-12.16-3.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Update to 12.24 · exiftool/exiftool@cf0f4e7 · GitHub MISC github.com
[SECURITY] Fedora 32 Update: perl-Image-ExifTool-12.16-3.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 33 Update: perl-Image-ExifTool-12.16-3.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
ExifTool 12.23 Arbitrary Code Execution ≈ Packet Storm MISC packetstormsecurity.com
HackerOne MISC hackerone.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
CISA Known Exploited Vulnerabilities catalog CISA www.cisa.gov kev

Vendor Comments And Credit

Discovery Credit

LEGACY: Thanks vakzz for reporting this vulnerability through the GitLab HackerOne bug bounty program who then reported it to the ExifTool maintainer

Legacy QID Mappings

  • 178574 Debian Security Update for libimage-exiftool-perl (DSA 4910-1)
  • 178599 Debian Security Update for libimage-exiftool-perl (DLA 2663-1)
  • 180151 Debian Security Update for libimage-exiftool-perl (CVE-2021-22204)
  • 198405 Ubuntu Security Notification for ExifTool vulnerability (USN-4987-1)
  • 281250 Fedora Security Update for perl (FEDORA-2021-de850ed71e)
  • 281251 Fedora Security Update for perl (FEDORA-2021-e3d8833d36)
  • 281252 Fedora Security Update for perl (FEDORA-2021-88d24aa32b)
  • 501658 Alpine Linux Security Update for perl-image-exiftool
  • 690820 Free Berkeley Software Distribution (FreeBSD) Security Update for security vulnerability found in exiftool (955f377e-7bc3-11ec-a51c-7533f219d428)
  • 750219 OpenSUSE Security Update for perl-Image-ExifTool (openSUSE-SU-2021:0707-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report