CWE
119 20 787
Advisory Published
CVE Published
Updated

CVE-2021-3482: Buffer Overflow

First published: Mon Apr 05 2021(Updated: )

A flaw was found in Exiv2 in versions before and including 0.27.4-RC1. Improper input validation of the rawData.size property in Jp2Image::readMetadata() in jp2image.cpp can lead to a heap-based buffer overflow via a crafted JPG image containing malicious EXIF data.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
debian/exiv2<=0.27.3-3+deb11u1
0.25-4+deb10u2
0.25-4+deb10u4
0.27.3-3+deb11u2
0.27.6-1
redhat/exiv2<0.27.4
0.27.4
CentOS Dos2unix<=0.27.3
CentOS Dos2unix=0.27.4-rc1
Red Hat Enterprise Linux=8.0
Fedora=33
Fedora=34
Debian=9.0
Debian=10.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-3482?

    CVE-2021-3482 is considered a high-severity vulnerability due to its potential for heap-based buffer overflow attacks.

  • How do I fix CVE-2021-3482?

    To fix CVE-2021-3482, update Exiv2 to version 0.27.4 or later, or apply patches provided by your operating system vendor.

  • What systems are affected by CVE-2021-3482?

    CVE-2021-3482 affects Exiv2 versions prior to 0.27.4-RC1 across multiple Linux distributions including Debian and Red Hat.

  • What type of vulnerabilities does CVE-2021-3482 exploit?

    CVE-2021-3482 exploits improper input validation leading to buffer overflow vulnerabilities in handling crafted JPG images.

  • Is CVE-2021-3482 a remote code execution vulnerability?

    Yes, CVE-2021-3482 can lead to remote code execution under certain conditions due to the buffer overflow.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203