CVE Database›Document archive›CVE-2019-13504

CVE-2019-13504

exiv2: out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp

Loading…

Severity

Moderate

Red Hat Product Security

6.5

CVSS 3.0

Review impact separately from score.

Published · July 10, 2019

Updated · June 27, 2026

Description

A vulnerability was found in exiv2. An integer wraparound could lead to an out-of-bounds read in the way MemIo is implemented. Reading from the memory buffer with MemIo::Impl::read() reads data beyond the buffer’s limits. An attacker could abuse this flaw by providing a specially crafted image that when read, would cause the application to crash or to leak sensitive data.

Statement

This issue did not affect the versions of exiv2 as shipped with Red Hat Enterprise Linux 7, and 8 as variables MemIo::Impl::size_ and MemIo::Impl::idx_ are of type long, making it impossible to trigger the integer wraparound that would lead to an out-of-bound read.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 6.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

CWE-190 · Integer Overflow or Wraparound