CVE-2021-37619
Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header
CVE-2021-37619 is a medium vulnerability (CVSS 4.7) in Exiv2, published August 9, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.98%, the 62nd percentile. Fixed in exiv2 0.27.5-r0.
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
4.7
Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.
- Record
CVE-2021-37619- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2021-24177
4.7
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.
- Record
EUVD-2021-24177- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
NVD
4.7
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.
- Record
CVE-2021-37619- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-37619
5.5
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.
- Record
ALPINE-CVE-2021-37619- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVAZL-7221
5.5
CVE-2021-37619 affecting package exiv2 for versions less than 0.27.5-1
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.
- Record
AZL-7221- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
5.5
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.
- Record
CVE-2021-37619- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 14 moreShow less
OSVDEBIAN-CVE-2021-37619
5.5
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.
- Record
DEBIAN-CVE-2021-37619- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVJLSEC-2026-1309
5.5
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.
- Record
JLSEC-2026-1309- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
OSVOESA-2021-1451
7.5
exiv2 security update
Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata and the ICC Profile embedded within digital images in various formats.
Security Fix(es):
An integer overflow in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (SIGSEGV) via a crafted PNG image file, because PngImage::readMetadata mishandles a zero value for iccOffset.(CVE-2019-13108)
There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.(CVE-2019-13504)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (-p t or -P t). The bug is fixed in version v0.27.5.(CVE-2021-37616)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (-p t or -P t). The bug is fixed in version v0.27.5.(CVE-2021-37615)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The assertion failure is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when modifying the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as fi. ### Patches The bug is fixed in version v0.27.5. ### References Regression test and bug fix: #1739 ### For more information Please see our security policy for information about Exiv2 security.(CVE-2021-32815)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when deleting the IPTC data, which is a less frequently used Exiv2 operation that requires an extra command line option (-d I rm). The bug is fixed in version v0.27.5.(CVE-2021-37623)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a…
- Record
OESA-2021-1451- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2022-2044
7.5
exiv2 security update
Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata and the ICC Profile embedded within digital images in various formats.
Security Fix(es):
An integer overflow in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (SIGSEGV) via a crafted PNG image file, because PngImage::readMetadata mishandles a zero value for iccOffset.(CVE-2019-13108)
There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.(CVE-2019-13504)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (-p t or -P t). The bug is fixed in version v0.27.5.(CVE-2021-37616)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (-p t or -P t). The bug is fixed in version v0.27.5.(CVE-2021-37615)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The assertion failure is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when modifying the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as fi. ### Patches The bug is fixed in version v0.27.5. ### References Regression test and bug fix: #1739 ### For more information Please see our security policy for information about Exiv2 security.(CVE-2021-32815)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when deleting the IPTC data, which is a less frequently used Exiv2 operation that requires an extra command line option (-d I rm). The bug is fixed in version v0.27.5.(CVE-2021-37623)
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a…
- Record
OESA-2022-2044- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2021:4173
7.8
Red Hat Security Advisory: exiv2 security, bug fix, and enhancement update
- Record
RHSA-2021:4173- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:4319
7.5
Red Hat Security Advisory: compat-exiv2-026 security update
- Record
RHSA-2021:4319- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2021:4173
7.8
Moderate: exiv2 security, bug fix, and enhancement update
Exiv2 is a C++ library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd, and support for various image formats.
The following packages have been upgraded to a later upstream version: exiv2 (0.27.4). (BZ#1989860)
Security Fix(es):
-
exiv2: Heap-based buffer overflow in Jp2Image::readMetadata() (CVE-2021-3482)
-
exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::doWriteMetadata (CVE-2021-29457)
-
exiv2: Out-of-bounds read in Exiv2::Internal::CrwMap::encode (CVE-2021-29458)
-
exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-29464)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-29470)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::doWriteMetadata (CVE-2021-29473)
-
exiv2: Integer overflow in CrwMap:encode0x1810 leading to heap-based buffer overflow and DoS (CVE-2021-31292)
-
exiv2: Out-of-bounds read in Exiv2::WebPImage::doWriteMetadata (CVE-2021-29463)
-
exiv2: Use of uninitialized memory in isWebPType() may lead to information leak (CVE-2021-29623)
-
exiv2: DoS due to quadratic complexity in ProcessUTF8Portion (CVE-2021-32617)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::printStructure (CVE-2021-37618)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-37619)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.
- Record
RLSA-2021:4173- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2021:4319
7.5
Moderate: compat-exiv2-026 security update
Exiv2 is a C++ library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd, and support for various image formats.
Security Fix(es):
-
exiv2: Integer overflow in CrwMap:encode0x1810 leading to heap-based buffer overflow and DoS (CVE-2021-31292)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::printStructure (CVE-2021-37618)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-37619)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.
- Record
RLSA-2021:4319- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-37619
5.5
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.5.
- Record
UBUNTU-CVE-2021-37619- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2021:4173 No score
Moderate: exiv2 security, bug fix, and enhancement update
Exiv2 is a C++ library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd, and support for various image formats.
The following packages have been upgraded to a later upstream version: exiv2 (0.27.4). (BZ#1989860)
Security Fix(es):
-
exiv2: Heap-based buffer overflow in Jp2Image::readMetadata() (CVE-2021-3482)
-
exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::doWriteMetadata (CVE-2021-29457)
-
exiv2: Out-of-bounds read in Exiv2::Internal::CrwMap::encode (CVE-2021-29458)
-
exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-29464)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-29470)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::doWriteMetadata (CVE-2021-29473)
-
exiv2: Integer overflow in CrwMap:encode0x1810 leading to heap-based buffer overflow and DoS (CVE-2021-31292)
-
exiv2: Out-of-bounds read in Exiv2::WebPImage::doWriteMetadata (CVE-2021-29463)
-
exiv2: Use of uninitialized memory in isWebPType() may lead to information leak (CVE-2021-29623)
-
exiv2: DoS due to quadratic complexity in ProcessUTF8Portion (CVE-2021-32617)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::printStructure (CVE-2021-37618)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-37619)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2021:4173- Updated
- 2026-11-02
OSVALSA-2021:4319 No score
Moderate: compat-exiv2-026 security update
Exiv2 is a C++ library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd, and support for various image formats.
Security Fix(es):
-
exiv2: Integer overflow in CrwMap:encode0x1810 leading to heap-based buffer overflow and DoS (CVE-2021-31292)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::printStructure (CVE-2021-37618)
-
exiv2: Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header (CVE-2021-37619)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2021:4319- Updated
- 2026-11-02
OSVMGASA-2021-0415 No score
Updated exiv2 packages fix security vulnerabilities
The updated exiv2 packages fix security vulnerabilities:
An assertion failure is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file (CVE-2021-32815).
An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file (CVE-2021-34334).
A floating point exception (FPE) due to an integer divide by zero was found in Exiv2 versions v0.27.4 and earlier. The FPE is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file (CVE-2021-34335).
A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file (CVE-2021-37615, CVE-2021-37616).
An out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit thevulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file (CVE-2021-37618, CVE-2021-37619, CVE-2021-37620).
An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file (CVE-2021-37621, CVE-2021-37622, CVE-2021-37623).
- Record
MGASA-2021-0415- Updated
- 2026-11-02
OSVSUSE-SU-2022:3598-1 No score
Security update for exiv2
This update for exiv2 fixes the following issues:
- CVE-2021-37621: Fixed denial of service due to infinite loop in Image:printIFDStructure (bsc#1189333).
- CVE-2021-37620: Fixed out-of-bounds read in XmpTextValue:read() (bsc#1189332).
- CVE-2021-37619: Fixed out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header (bsc#1189331).
- CVE-2021-37618: Fixed out-of-bounds read in Exiv2:Jp2Image:printStructure (bsc#1189330).
- CVE-2021-32617: Fixed denial of service inside inefficient algorithm (quadratic complexity) (bsc#1186192).
- CVE-2021-31292: Fixed integer overflow in CrwMap:encode0x1810 (bsc#1188756).
- CVE-2021-31291: Fixed heap-based buffer overflow vulnerability in jp2image.cpp may lead to a denial of service (bsc#1188733).
- CVE-2021-29470: Fixed out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header (bsc#1185447).
- CVE-2020-18899: Fixed uncontrolled memory allocation (bsc#1189636).
- CVE-2020-18898: Fixed remote denial of service in printIFDStructure function (bsc#1189780).
- CVE-2018-8977: Fixed remote denial of service in Exiv2::Internal::printCsLensFFFF function in canonmn_int.cpp (bsc#1086798).
- CVE-2018-8976: Fixed remote denial of service in image.cpp Exiv2::Internal::stringFormat via out-of-bounds read (bsc#1086810).
- CVE-2018-5772: Fixed segmentation fault caused by uncontrolled recursion inthe Exiv2::Image::printIFDStructure (bsc#1076579).
- CVE-2018-18915: Fixed an infinite loop in the Exiv2:Image:printIFDStructure function (bsc#1114690).
- CVE-2018-10772: Fixed segmentation fault when the function Exiv2::tEXtToDataBuf() is finished (bsc#1092096).
- Record
SUSE-SU-2022:3598-1- Updated
- 2026-11-02
OSVUSN-5043-1 No score
exiv2 vulnerabilities
It was discovered that Exiv2 incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service. (CVE-2021-32815, CVE-2021-34334, CVE-2021-37620, CVE-2021-37622)
It was discovered that Exiv2 incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service. These issues only affected Ubuntu 20.04 LTS and Ubuntu 21.04. (CVE-2021-34335, CVE-2021-37615, CVE-2021-37616, CVE-2021-37618, CVE-2021-37619, CVE-2021-37621, CVE-2021-37623)
- Record
USN-5043-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
exiv2Alpine:v3.14 |
before 0.27.5-r0 | 0.27.5-r0 |
exiv2Alpine:v3.15 |
before 0.27.5-r0 | 0.27.5-r0 |
exiv2Alpine:v3.16 |
before 0.27.5-r0 | 0.27.5-r0 |
exiv2Alpine:v3.17 |
before 0.27.5-r0 | 0.27.5-r0 |
exiv2Alpine:v3.18 |
before 0.27.5-r0 | 0.27.5-r0 |
exiv2Alpine:v3.19 |
before 0.27.5-r0 | 0.27.5-r0 |
exiv2Alpine:v3.20 |
before 0.27.5-r0 | 0.27.5-r0 |
exiv2Alpine:v3.21 |
before 0.27.5-r0 | 0.27.5-r0 |
exiv2Alpine:v3.22 |
before 0.27.5-r0 | 0.27.5-r0 |
exiv2Alpine:v3.23 |
before 0.27.5-r0 | 0.27.5-r0 |
Show 57 moreShow less
| Package | Affected | Fixed |
|---|---|---|
exiv2Alpine:v3.24 |
before 0.27.5-r0 | 0.27.5-r0 |
exiv2AlmaLinux:8 |
before 0.27.4-5.el8 | 0.27.4-5.el8 |
exiv2-develAlmaLinux:8 |
before 0.27.4-5.el8 | 0.27.4-5.el8 |
exiv2-docAlmaLinux:8 |
before 0.27.4-5.el8 | 0.27.4-5.el8 |
exiv2-libsAlmaLinux:8 |
before 0.27.4-5.el8 | 0.27.4-5.el8 |
compat-exiv2-026AlmaLinux:8 |
before 0.26-6.el8 | 0.26-6.el8 |
exiv2Azure Linux:2 |
before 0.27.5-1 | 0.27.5-1 |
exiv2Debian:12 |
before 0.27.5-1 | 0.27.5-1 |
exiv2Debian:13 |
before 0.27.5-1 | 0.27.5-1 |
exiv2Debian:14 |
before 0.27.5-1 | 0.27.5-1 |
Exiv2_jllJulia |
All versions | None known |
exiv2Mageia:8 |
before 0.27.3-1.3.mga8 | 0.27.3-1.3.mga8 |
exiv2openEuler:20.03-LTS-SP1 |
before 0.27.5-1.oe1 | 0.27.5-1.oe1 |
exiv2openEuler:20.03-LTS-SP2 |
before 0.27.5-1.oe1 | 0.27.5-1.oe1 |
exiv2openEuler:22.03-LTS |
before 0.27.5-2.oe2203 | 0.27.5-2.oe2203 |
exiv2Red Hat:enterprise_linux:8::appstream |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
exiv2-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
exiv2-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
exiv2-libsRed Hat:enterprise_linux:8::appstream |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
exiv2-libs-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
exiv2-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
exiv2-debugsourceRed Hat:enterprise_linux:8::crb |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
exiv2-develRed Hat:enterprise_linux:8::crb |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
exiv2-docRed Hat:enterprise_linux:8::crb |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
exiv2-libs-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
compat-exiv2-026Red Hat:enterprise_linux:8::appstream |
before 0:0.26-6.el8 | 0:0.26-6.el8 |
compat-exiv2-026-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.26-6.el8 | 0:0.26-6.el8 |
compat-exiv2-026-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:0.26-6.el8 | 0:0.26-6.el8 |
exiv2Rocky Linux:8 |
before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
compat-exiv2-026Rocky Linux:8 |
before 0:0.26-6.el8 | 0:0.26-6.el8 |
exiv2SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15-ESPOS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP1-BCL |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP1-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP2-BCL |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP2-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server for SAP Applications 15 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server for SAP Applications 15 SP2 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Manager Proxy 4.1 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Manager Retail Branch Server 4.1 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Manager Server 4.1 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Enterprise Storage 6 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Enterprise Storage 7 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2openSUSE:Leap 15.3 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2openSUSE:Leap 15.4 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2Ubuntu:20.04:LTS |
before 0.27.2-8ubuntu2.6, plus listed versions 0.25-4ubuntu20.25-4ubuntu30.27.2-8ubuntu20.27.2-8ubuntu2.20.27.2-8ubuntu2.40.27.2-8ubuntu2.5 |
0.27.2-8ubuntu2.6 |
exiv2Ubuntu:22.04:LTS |
before 0.27.3-3ubuntu4 | 0.27.3-3ubuntu4 |
exiv2Ubuntu:Pro:16.04:LTS |
before 0.25-2.1ubuntu16.04.7+esm4, plus listed versions 0.25-1ubuntu10.25-2.10.25-2.1ubuntu16.04.10.25-2.1ubuntu16.04.20.25-2.1ubuntu16.04.3 Show 6 moreShow less0.25-2.1ubuntu16.04.40.25-2.1ubuntu16.04.50.25-2.1ubuntu16.04.60.25-2.1ubuntu16.04.7+esm10.25-2.1ubuntu16.04.7+esm20.25-2.1ubuntu16.04.7+esm3 |
0.25-2.1ubuntu16.04.7+esm4 |
exiv2Ubuntu:18.04:LTS |
before 0.25-3.1ubuntu0.18.04.11, plus listed versions 0.25-3.10.25-3.1ubuntu0.18.04.10.25-3.1ubuntu0.18.04.20.25-3.1ubuntu0.18.04.30.25-3.1ubuntu0.18.04.4 Show 4 moreShow less0.25-3.1ubuntu0.18.04.50.25-3.1ubuntu0.18.04.70.25-3.1ubuntu0.18.04.90.25-3.1ubuntu0.18.04.10 |
0.25-3.1ubuntu0.18.04.11 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected, aliases, references | EUVD, OSV |
| 2026-11-02 | created | CVE List, NVD, OSV |
References
github.com/Exiv2/exiv2/security/advisories/GHSA-mxw9-qx4c-6m8v
github.com/Exiv2/exiv2/pull/1752
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC
security.gentoo.org/glsa/202312-06
security.alpinelinux.org/vuln/CVE-2021-37619
Show 135 moreShow less
vulners.com/cve/CVE-2021-29457
vulners.com/cve/CVE-2021-29458
vulners.com/cve/CVE-2021-29463
vulners.com/cve/CVE-2021-29464
vulners.com/cve/CVE-2021-29470
vulners.com/cve/CVE-2021-29473
vulners.com/cve/CVE-2021-29623
vulners.com/cve/CVE-2021-31292
vulners.com/cve/CVE-2021-32617
vulners.com/cve/CVE-2021-3482
vulners.com/cve/CVE-2021-37618
vulners.com/cve/CVE-2021-37619
nvd.nist.gov/vuln/detail/CVE-2021-37619
security-tracker.debian.org/tracker/CVE-2021-37619
advisories.mageia.org/MGASA-2021-0415.html
bugs.mageia.org/show_bug.cgi?id=29371
ubuntu.com/security/notices/USN-5043-1
lists.fedoraproject.org/archives/list/[email protected]/thread/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1451
nvd.nist.gov/vuln/detail/CVE-2019-13108
nvd.nist.gov/vuln/detail/CVE-2019-13504
nvd.nist.gov/vuln/detail/CVE-2021-37616
nvd.nist.gov/vuln/detail/CVE-2021-37615
nvd.nist.gov/vuln/detail/CVE-2021-32815
nvd.nist.gov/vuln/detail/CVE-2021-37623
nvd.nist.gov/vuln/detail/CVE-2021-37622
nvd.nist.gov/vuln/detail/CVE-2021-34334
nvd.nist.gov/vuln/detail/CVE-2021-37620
nvd.nist.gov/vuln/detail/CVE-2021-37621
nvd.nist.gov/vuln/detail/CVE-2021-34335
nvd.nist.gov/vuln/detail/CVE-2021-37618
nvd.nist.gov/vuln/detail/CVE-2021-31292
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2044
access.redhat.com/errata/RHSA-2021:4173
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.5_release_notes
bugzilla.redhat.com/show_bug.cgi?id=1946314
bugzilla.redhat.com/show_bug.cgi?id=1952607
bugzilla.redhat.com/show_bug.cgi?id=1952612
bugzilla.redhat.com/show_bug.cgi?id=1953708
bugzilla.redhat.com/show_bug.cgi?id=1954065
bugzilla.redhat.com/show_bug.cgi?id=1961650
bugzilla.redhat.com/show_bug.cgi?id=1961691
bugzilla.redhat.com/show_bug.cgi?id=1978100
bugzilla.redhat.com/show_bug.cgi?id=1978105
bugzilla.redhat.com/show_bug.cgi?id=1989860
bugzilla.redhat.com/show_bug.cgi?id=1990330
bugzilla.redhat.com/show_bug.cgi?id=1992165
bugzilla.redhat.com/show_bug.cgi?id=1992174
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4173.json
access.redhat.com/security/cve/CVE-2021-3482
cve.org/CVERecord?id=CVE-2021-3482
nvd.nist.gov/vuln/detail/CVE-2021-3482
access.redhat.com/security/cve/CVE-2021-29457
cve.org/CVERecord?id=CVE-2021-29457
nvd.nist.gov/vuln/detail/CVE-2021-29457
github.com/Exiv2/exiv2/security/advisories/GHSA-v74w-h496-cgqm
access.redhat.com/security/cve/CVE-2021-29458
cve.org/CVERecord?id=CVE-2021-29458
nvd.nist.gov/vuln/detail/CVE-2021-29458
github.com/Exiv2/exiv2/security/advisories/GHSA-57jj-75fm-9rq5
access.redhat.com/security/cve/CVE-2021-29463
cve.org/CVERecord?id=CVE-2021-29463
nvd.nist.gov/vuln/detail/CVE-2021-29463
access.redhat.com/security/cve/CVE-2021-29464
cve.org/CVERecord?id=CVE-2021-29464
nvd.nist.gov/vuln/detail/CVE-2021-29464
access.redhat.com/security/cve/CVE-2021-29470
cve.org/CVERecord?id=CVE-2021-29470
nvd.nist.gov/vuln/detail/CVE-2021-29470
github.com/Exiv2/exiv2/security/advisories/GHSA-8949-hhfh-j7rj
access.redhat.com/security/cve/CVE-2021-29473
cve.org/CVERecord?id=CVE-2021-29473
nvd.nist.gov/vuln/detail/CVE-2021-29473
github.com/Exiv2/exiv2/security/advisories/GHSA-7569-phvm-vwc2
access.redhat.com/security/cve/CVE-2021-29623
cve.org/CVERecord?id=CVE-2021-29623
nvd.nist.gov/vuln/detail/CVE-2021-29623
github.com/Exiv2/exiv2/security/advisories/GHSA-6253-qjwm-3q4v
access.redhat.com/security/cve/CVE-2021-31292
cve.org/CVERecord?id=CVE-2021-31292
access.redhat.com/security/cve/CVE-2021-32617
cve.org/CVERecord?id=CVE-2021-32617
nvd.nist.gov/vuln/detail/CVE-2021-32617
github.com/Exiv2/exiv2/security/advisories/GHSA-w8mv-g8qq-36mj
access.redhat.com/security/cve/CVE-2021-37618
cve.org/CVERecord?id=CVE-2021-37618
access.redhat.com/security/cve/CVE-2021-37619
cve.org/CVERecord?id=CVE-2021-37619
access.redhat.com/errata/RHSA-2021:4319
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4319.json
errata.rockylinux.org/RLSA-2021:4173
errata.rockylinux.org/RLSA-2021:4319
suse.com/support/update/announcement/2022/suse-su-20223598-1
bugzilla.suse.com/1076579
bugzilla.suse.com/1086798
bugzilla.suse.com/1086810
bugzilla.suse.com/1092096
bugzilla.suse.com/1114690
bugzilla.suse.com/1185447
bugzilla.suse.com/1186192
bugzilla.suse.com/1188733
bugzilla.suse.com/1188756
bugzilla.suse.com/1189330
bugzilla.suse.com/1189331
bugzilla.suse.com/1189332
bugzilla.suse.com/1189333
bugzilla.suse.com/1189636
bugzilla.suse.com/1189780
suse.com/security/cve/CVE-2018-10772
suse.com/security/cve/CVE-2018-18915
suse.com/security/cve/CVE-2018-5772
suse.com/security/cve/CVE-2018-8976
suse.com/security/cve/CVE-2018-8977
suse.com/security/cve/CVE-2020-18898
suse.com/security/cve/CVE-2020-18899
suse.com/security/cve/CVE-2021-29470
suse.com/security/cve/CVE-2021-31291
suse.com/security/cve/CVE-2021-31292
suse.com/security/cve/CVE-2021-32617
suse.com/security/cve/CVE-2021-37618
suse.com/security/cve/CVE-2021-37619
suse.com/security/cve/CVE-2021-37620
suse.com/security/cve/CVE-2021-37621
ubuntu.com/security/CVE-2021-37619
ubuntu.com/security/CVE-2021-32815
ubuntu.com/security/CVE-2021-34334
ubuntu.com/security/CVE-2021-34335
ubuntu.com/security/CVE-2021-37615
ubuntu.com/security/CVE-2021-37616
ubuntu.com/security/CVE-2021-37618
ubuntu.com/security/CVE-2021-37620
ubuntu.com/security/CVE-2021-37621
ubuntu.com/security/CVE-2021-37622
ubuntu.com/security/CVE-2021-37623
Left out here: the rest of 2 source descriptions. The JSON record has them.