{"api_version":"1","generated_at":"2026-04-23T05:58:26+00:00","cve":"CVE-2021-22204","urls":{"html":"https://cve.report/CVE-2021-22204","api":"https://cve.report/api/cve/CVE-2021-22204.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-22204","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-22204"},"summary":{"title":"CVE-2021-22204","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","state":"PUBLIC","assigner":"cve@gitlab.com","published_at":"2021-04-23 18:15:00","updated_at":"2023-11-07 03:30:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html","name":"http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html","refsource":"MISC","tags":[],"title":"GitLab Unauthenticated Remote ExifTool Command Injection ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/","name":"FEDORA-2021-88d24aa32b","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: perl-Image-ExifTool-12.16-3.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2021/05/10/5","name":"[oss-security] 20210510 Re: [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious image","refsource":"MLIST","tags":[],"title":"oss-security - Re: [CVE-2021-22204] ExifTool - Arbitrary code\n execution in the DjVu module when parsing a malicious image","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json","name":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json","refsource":"CONFIRM","tags":[],"title":"2021/CVE-2021-22204.json · master · GitLab.org / cves · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/","name":"FEDORA-2021-de850ed71e","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: perl-Image-ExifTool-12.16-3.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2021/05/09/1","name":"[oss-security] 20210509 [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious image","refsource":"MLIST","tags":[],"title":"oss-security - [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu\n module when parsing a malicious image","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2021/dsa-4910","name":"DSA-4910","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-4910-1 libimage-exiftool-perl","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html","name":"http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html","refsource":"MISC","tags":[],"title":"GitLab 13.10.2 Remote Code Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html","name":"http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html","refsource":"MISC","tags":[],"title":"ExifTool DjVu ANT Perl Injection ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/","name":"FEDORA-2021-e3d8833d36","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 32 Update: perl-Image-ExifTool-12.16-3.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html","name":"[debian-lts-announce] 20210516 [SECURITY] [DLA 2663-1] libimage-exiftool-perl security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2663-1] libimage-exiftool-perl security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/","name":"FEDORA-2021-de850ed71e","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: perl-Image-ExifTool-12.16-3.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800","name":"https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800","refsource":"MISC","tags":[],"title":"Update to 12.24 · exiftool/exiftool@cf0f4e7 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/","name":"FEDORA-2021-e3d8833d36","refsource":"","tags":[],"title":"[SECURITY] Fedora 32 Update: perl-Image-ExifTool-12.16-3.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/","name":"FEDORA-2021-88d24aa32b","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: perl-Image-ExifTool-12.16-3.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html","name":"http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html","refsource":"MISC","tags":[],"title":"ExifTool 12.23 Arbitrary Code Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://hackerone.com/reports/1154542","name":"https://hackerone.com/reports/1154542","refsource":"MISC","tags":[],"title":"HackerOne","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22204","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22204","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Thanks vakzz for reporting this vulnerability through the GitLab HackerOne bug bounty program who then reported it to the ExifTool maintainer","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"22204","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"22204","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"22204","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"exiftool_project","cpe5":"exiftool","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"22204","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"32","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"22204","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"22204","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":{"cve_year":"2021","cve_id":"22204","cve":"CVE-2021-22204","vendorProject":"Perl","product":"Exiftool","vulnerabilityName":"ExifTool Remote Code Execution Vulnerability","dateAdded":"2021-11-17","shortDescription":"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","requiredAction":"Apply updates per vendor instructions.","dueDate":"2021-12-01","knownRansomwareCampaignUse":"Unknown","notes":"https://nvd.nist.gov/vuln/detail/CVE-2021-22204","cwes":"CWE-95","catalogVersion":"2026.04.22","updated_at":"2026-04-22 20:03:11"},"epss":{"cve_year":"2021","cve_id":"22204","cve":"CVE-2021-22204","epss":"0.928560000","percentile":"0.997690000","score_date":"2026-04-22","updated_at":"2026-04-23 00:03:16"},"legacy_qids":[{"cve":"CVE-2021-22204","qid":"178574","title":"Debian Security Update for libimage-exiftool-perl (DSA 4910-1)"},{"cve":"CVE-2021-22204","qid":"178599","title":"Debian Security Update for libimage-exiftool-perl (DLA 2663-1)"},{"cve":"CVE-2021-22204","qid":"180151","title":"Debian Security Update for libimage-exiftool-perl (CVE-2021-22204)"},{"cve":"CVE-2021-22204","qid":"198405","title":"Ubuntu Security Notification for ExifTool vulnerability (USN-4987-1)"},{"cve":"CVE-2021-22204","qid":"281250","title":"Fedora Security Update for perl (FEDORA-2021-de850ed71e)"},{"cve":"CVE-2021-22204","qid":"281251","title":"Fedora Security Update for perl (FEDORA-2021-e3d8833d36)"},{"cve":"CVE-2021-22204","qid":"281252","title":"Fedora Security Update for perl (FEDORA-2021-88d24aa32b)"},{"cve":"CVE-2021-22204","qid":"501658","title":"Alpine Linux Security Update for perl-image-exiftool"},{"cve":"CVE-2021-22204","qid":"690820","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for security vulnerability found in exiftool (955f377e-7bc3-11ec-a51c-7533f219d428)"},{"cve":"CVE-2021-22204","qid":"750219","title":"OpenSUSE Security Update for perl-Image-ExifTool (openSUSE-SU-2021:0707-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-22204","ASSIGNER":"cve@gitlab.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"ExifTool","product":{"product_data":[{"product_name":"ExifTool","version":{"version_data":[{"version_value":">=7.44, <12.24"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Improper neutralization of directives in dynamically evaluated code ('eval injection') in ExifTool"}]}]},"references":{"reference_data":[{"name":"https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800","url":"https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800","refsource":"MISC"},{"name":"https://hackerone.com/reports/1154542","url":"https://hackerone.com/reports/1154542","refsource":"MISC"},{"name":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json","refsource":"CONFIRM"},{"refsource":"DEBIAN","name":"DSA-4910","url":"https://www.debian.org/security/2021/dsa-4910"},{"refsource":"FEDORA","name":"FEDORA-2021-de850ed71e","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/"},{"refsource":"FEDORA","name":"FEDORA-2021-e3d8833d36","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/"},{"refsource":"FEDORA","name":"FEDORA-2021-88d24aa32b","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/"},{"refsource":"MLIST","name":"[oss-security] 20210509 [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious image","url":"http://www.openwall.com/lists/oss-security/2021/05/09/1"},{"refsource":"MLIST","name":"[oss-security] 20210510 Re: [CVE-2021-22204] ExifTool - Arbitrary code execution in the DjVu module when parsing a malicious image","url":"http://www.openwall.com/lists/oss-security/2021/05/10/5"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html","url":"http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20210516 [SECURITY] [DLA 2663-1] libimage-exiftool-perl security update","url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html","url":"http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html","url":"http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html","url":"http://packetstormsecurity.com/files/167038/ExifTool-12.23-Arbitrary-Code-Execution.html"}]},"description":{"description_data":[{"lang":"eng","value":"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"}]},"impact":{"cvss":{"vectorString":"AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","version":"3.1","baseScore":6.7,"baseSeverity":"MEDIUM"}},"credit":[{"lang":"eng","value":"Thanks vakzz for reporting this vulnerability through the GitLab HackerOne bug bounty program who then reported it to the ExifTool maintainer"}]},"nvd":{"publishedDate":"2021-04-23 18:15:00","lastModifiedDate":"2023-11-07 03:30:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:exiftool_project:exiftool:*:*:*:*:*:*:*:*","versionStartIncluding":"7.44","versionEndExcluding":"12.24","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"22204","Ordinal":"196905","Title":"CVE-2021-22204","CVE":"CVE-2021-22204","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"22204","Ordinal":"1","NoteData":"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","Type":"Description","Title":null},{"CveYear":"2021","CveId":"22204","Ordinal":"2","NoteData":"2021-04-23","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"22204","Ordinal":"3","NoteData":"2021-11-17","Type":"Other","Title":"Modified"}]}}}