CVE-2021-22204
JSON

6.8mediumExploited

ExifTool Remote Code Execution Vulnerability

Severity
6.8medium CVSS:3.1 by GitLab
Exploit likelihood
99.9% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Affected

Product or packageVersionsReported by
ExifTool ExifTool>=7.44, <12.24CVE List
exiftool_project exiftoolfrom 7.44 before 12.24NVD
debian debian_linux9.0, 10.0NVD
fedoraproject fedora32, 33, 34NVD
Perl ExiftoolNot specifiedCISA KEV

All scores

GitLab6.8medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

CWE-94CWE-95

SSVC (CISA-ADP): exploitation active, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

Una neutralización inapropiada de los datos del usuario en el formato de archivo DjVu en ExifTool versiones 7.44 y posteriores, permite una ejecución de código arbitrario cuando se analiza la imagen maliciosa

References

https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800patch
https://hackerone.com/reports/1154542exploit, issue-tracking, third-party-advisory
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.jsonthird-party-advisory
https://www.debian.org/security/2021/dsa-4910mailing-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/1mailing-list, third-party-advisory
http://www.openwall.com/lists/oss-security/2021/05/10/5mailing-list, third-party-advisory
http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.htmlexploit, third-party-advisory, vdb-entry
https://lists.debian.org/debian-lts-announce/2021/05/msg00018.htmlmailing-list, third-party-advisory
http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.htmlexploit, third-party-advisory, vdb-entry

Sources

SourceRecordLicence
CVE ListCVE-2021-22204 changed 2025-10-21CVE Terms of Use
NVDCVE-2021-22204 changed 2026-06-17Public domain
CISA KEVCVE-2021-22204 changed 2021-11-17CC0-1.0