CVE-2019-13504
published 2019-07-11CVE-2019-13504: There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.
PriorityP426medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
2.39%
82.1th percentile
There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | exiv2 | < exiv2 0.27.2-6 (bookworm) | exiv2 0.27.2-6 (bookworm) |
| exiv2 | exiv2 | <= 0.27.2 | — |
| exiv2 | exiv2 | >= 0 < 0.27.2-6 | 0.27.2-6 |
| exiv2 | exiv2 | >= 0 < 0.27.2-6 | 0.27.2-6 |
| exiv2 | exiv2 | >= 0 < 0.27.2-6 | 0.27.2-6 |
| exiv2 | exiv2 | >= 0 < 0.27.2-6 | 0.27.2-6 |
| msrc | cbl2_exiv2_0.27.5-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
exiv2: out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp
vendor_redhat·2019-07-10·CVSS 6.5
CVE-2019-13504 [MEDIUM] CWE-190 exiv2: out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp
exiv2: out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp
There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.
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 w
Microsoft
There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.
vendor_msrc·2019-07-09·CVSS 6.5
CVE-2019-13504 [MEDIUM] CWE-125 There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.
There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediatio
Debian
CVE-2019-13504: exiv2 - There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp ...
vendor_debian·2019·CVSS 6.5
CVE-2019-13504 [MEDIUM] CVE-2019-13504: exiv2 - There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp ...
There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.
Scope: local
bookworm: resolved (fixed in 0.27.2-6)
bullseye: resolved (fixed in 0.27.2-6)
forky: resolved (fixed in 0.27.2-6)
sid: resolved (fixed in 0.27.2-6)
trixie: resolved (fixed in 0.27.2-6)
GHSA
GHSA-xjcm-5xfx-c3pp: There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage
ghsa_unreviewed·2022-05-24
CVE-2019-13504 [MEDIUM] CWE-125 GHSA-xjcm-5xfx-c3pp: There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage
There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.
OSV
CVE-2019-13504: There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage
osv·2019-07-11·CVSS 6.5
CVE-2019-13504 [MEDIUM] CVE-2019-13504: There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage
There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-14370 exiv2: Out-of-bounds read in Exiv2::MrwImage::readMetadata() in mrwimage.cpp
bugzilla·2019-08-30·CVSS 6.5
CVE-2019-14370 [MEDIUM] CVE-2019-14370 exiv2: Out-of-bounds read in Exiv2::MrwImage::readMetadata() in mrwimage.cpp
CVE-2019-14370 exiv2: Out-of-bounds read in Exiv2::MrwImage::readMetadata() in mrwimage.cpp
In Exiv2 0.27.99.0, there is an out-of-bounds read in Exiv2::MrwImage::readMetadata() in mrwimage.cpp. It could result in denial of service.
Upstream bug:
https://github.com/Exiv2/exiv2/issues/954
Discussion:
Created exiv2 tracking bugs for this issue:
Affects: fedora-all [bug 1747228]
---
Upstream fix:
https://github.com/Exiv2/exiv2/commit/bd0afe0390439b2c424d881c8c6eb0c5624e31d9
same fix as CVE-2019-13504
---
This bug has the same root cause as CVE-2019-13504. From bug 1729034 comment 4:
> When seeking in MemIo (code in MemIo::Impl::seek) the new position is not
> properly checked, thus it is possible to move the current position beyond
> the limits of the memory buffer. If a read is do
Bugzilla
CVE-2019-14368 exiv2: Heap-based buffer over-read in Exiv2::RafImage::readMetadata() in rafimage.cpp
bugzilla·2019-08-30·CVSS 6.5
CVE-2019-14368 [MEDIUM] CVE-2019-14368 exiv2: Heap-based buffer over-read in Exiv2::RafImage::readMetadata() in rafimage.cpp
CVE-2019-14368 exiv2: Heap-based buffer over-read in Exiv2::RafImage::readMetadata() in rafimage.cpp
Exiv2 0.27.99.0 has a heap-based buffer over-read in Exiv2::RafImage::readMetadata() in rafimage.cpp.
Upstream bug:
https://github.com/Exiv2/exiv2/issues/952
Discussion:
Created exiv2 tracking bugs for this issue:
Affects: fedora-all [bug 1747230]
---
Upstream fix:
https://github.com/Exiv2/exiv2/commit/bd0afe0390439b2c424d881c8c6eb0c5624e31d9
same fix as CVE-2019-13504
---
This bug has the same root cause as CVE-2019-13504. From bug 1729034 comment 4:
> When seeking in MemIo (code in MemIo::Impl::seek) the new position is not
> properly checked, thus it is possible to move the current position beyond
> the limits of the memory buffer. If a read is done later (code in MemIo::Impl:
Bugzilla
CVE-2019-14369 exiv2: Heap-based buffer over-read in Exiv2::PngImage::readMetadata() in pngimage.cpp
bugzilla·2019-08-30·CVSS 6.5
CVE-2019-14369 [MEDIUM] CVE-2019-14369 exiv2: Heap-based buffer over-read in Exiv2::PngImage::readMetadata() in pngimage.cpp
CVE-2019-14369 exiv2: Heap-based buffer over-read in Exiv2::PngImage::readMetadata() in pngimage.cpp
Exiv2::PngImage::readMetadata() in pngimage.cpp in Exiv2 0.27.99.0 allows attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file.
Upstream bug:
https://github.com/Exiv2/exiv2/issues/953
Discussion:
Created exiv2 tracking bugs for this issue:
Affects: fedora-all [bug 1747232]
---
Upstream fix:
https://github.com/Exiv2/exiv2/commit/bd0afe0390439b2c424d881c8c6eb0c5624e31d9
same fix as CVE-2019-13504
---
This bug has the same root cause as CVE-2019-13504. From bug 1729034 comment 4:
> When seeking in MemIo (code in MemIo::Impl::seek) the new position is not
> properly checked, thus it is possible to move the current position beyond
> the limits
Bugzilla
CVE-2019-13504 exiv2: out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp [fedora-all]
bugzilla·2019-07-11·CVSS 6.5
CVE-2019-13504 [MEDIUM] CVE-2019-13504 exiv2: out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp [fedora-all]
CVE-2019-13504 exiv2: out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mu
Bugzilla
CVE-2019-13504 exiv2: out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp
bugzilla·2019-07-11·CVSS 6.5
CVE-2019-13504 [MEDIUM] CVE-2019-13504 exiv2: out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp
CVE-2019-13504 exiv2: out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp
A vulnerability was found in Exiv2, there is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp
Reference:
https://github.com/Exiv2/exiv2/pull/943
Discussion:
Created exiv2 tracking bugs for this issue:
Affects: fedora-all [bug 1729035]
---
Upstream patch:
https://github.com/Exiv2/exiv2/commit/bd0afe0390439b2c424d881c8c6eb0c5624e31d9 [master branch]
https://github.com/Exiv2/exiv2/commit/edb4bf78ca5820f2c7a852c8f2df11e6aba45704 [0.27-maintanance branch]
---
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 in
http://www.securityfocus.com/bid/109117https://fuzzit.dev/2019/07/11/discovering-cve-2019-13504-cve-2019-13503-and-the-importance-of-api-fuzzing/https://github.com/Exiv2/exiv2/pull/943https://lists.debian.org/debian-lts-announce/2019/07/msg00015.htmlhttps://lists.debian.org/debian-lts-announce/2023/01/msg00004.htmlhttp://www.securityfocus.com/bid/109117https://fuzzit.dev/2019/07/11/discovering-cve-2019-13504-cve-2019-13503-and-the-importance-of-api-fuzzing/https://github.com/Exiv2/exiv2/pull/943https://lists.debian.org/debian-lts-announce/2019/07/msg00015.htmlhttps://lists.debian.org/debian-lts-announce/2023/01/msg00004.html
2019-07-11
Published