CVE-2021-22204: ExifTool Remote Code Execution Vulnerability

Published Apr 23, 2021
·
Updated

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 Software

21 affected componentsFixes available
debian/libimage-exiftool-perl
11.16-1+deb10u112.16+dfsg-212.57+dfsg-112.67+dfsg-1
debian/libimage-exiftool-perl<=11.16-1, <=7.89-1, <=12.16+dfsg-1
12.16+dfsg-211.16-1+deb10u1
Exiftool Project Exiftool>=7.44<12.24
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Perl Exiftool
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0
alpine/perl-image-exiftool<12.24-r0
12.24-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libimage-exiftool-perl to a version that resolves this vulnerability.

    Fixed in 11.16-1+deb10u1Fixed in 12.16+dfsg-2Fixed in 12.57+dfsg-1Fixed in 12.67+dfsg-1
  2. Upgrade

    Upgrade debian/libimage-exiftool-perl to a version that resolves this vulnerability.

    Fixed in 12.16+dfsg-2Fixed in 11.16-1+deb10u1
  3. Upgrade

    Upgrade alpine/perl-image-exiftool to a version that resolves this vulnerability.

    Fixed in 12.24-r0

Event History

Apr 23, 2021
CVE Published
via MITRE·05:22 PM
Data Sourced
via MITRE·05:22 PM
DescriptionSeverityWeakness
Data Sourced
06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
May 11, 2021
Exploit Published
via GitHub·06:45 PM
Nov 17, 2021
Kev Listed
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
DescriptionAffected Software
Data Sourced
via CISA·12:00 AM
Weakness
Updated
via CISA·12:00 AM
Affected Software
Jul 24, 2024
Data Sourced
via NVD·05:07 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 21, 2024
Updated
via NVD·05:49 AM
RemedyAffected Software
Feb 6, 2025
Updated
via NVD·08:15 PM
RemedyWeaknessAffected Software
Updated
via NVD·08:15 PM
WeaknessAffected Software
Mar 13, 2025
Updated
via NVD·04:41 PM
Affected Software
Apr 28, 2025
News Published
via The Hacker News·11:00 AM
Oct 21, 2025
Updated
via NVD·07:18 PM
Affected Software
Oct 22, 2025
Updated
via NVD·12:17 AM
Affected Software

Frequently Asked Questions

1

What is CVE-2021-22204?

CVE-2021-22204 is a vulnerability in ExifTool that allows for remote code execution.

2

Which versions of ExifTool are affected by CVE-2021-22204?

ExifTool versions 7.44 and up are affected by CVE-2021-22204.

3

What is the severity of CVE-2021-22204?

CVE-2021-22204 has a severity rating of 7.8 (high).

4

How can arbitrary code be executed using CVE-2021-22204?

Arbitrary code execution can occur when parsing a malicious DjVu file in ExifTool affected by CVE-2021-22204.

5

How can I fix CVE-2021-22204?

To fix CVE-2021-22204, update ExifTool to version 12.24 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203