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

9 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
Perl Exiftool
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

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 debian/libimage-exiftool-perl to a version that resolves this vulnerability.

    Fixed in 11.16-1+deb10u1
  4. Upgrade

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

    Fixed in 12.16+dfsg-2
  5. Upgrade

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

    Fixed in 12.57+dfsg-1
  6. Upgrade

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

    Fixed in 12.67+dfsg-1

Event History

Apr 23, 2021
CVE Published
via MITRE·05:22 PM
Data Sourced
via MITRE·05:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 17, 2021
Known Exploited
via CISA·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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