CVE-2019-17402
published 2019-10-09CVE-2019-17402: Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in…
PriorityP428medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
1.85%
76.8th percentile
Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp, because there is no validation of the relationship of the total size to the offset and size.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | exiv2 | < exiv2 0.27.3-1 (bookworm) | exiv2 0.27.3-1 (bookworm) |
| exiv2 | exiv2 | — | — |
| exiv2 | exiv2 | >= 0 < 0.27.3-1 | 0.27.3-1 |
| exiv2 | exiv2 | >= 0 < 0.27.3-1 | 0.27.3-1 |
| exiv2 | exiv2 | >= 0 < 0.27.3-1 | 0.27.3-1 |
| exiv2 | exiv2 | >= 0 < 0.27.3-1 | 0.27.3-1 |
| 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.5MEDIUM
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.
GHSA
GHSA-xhv3-q5hx-88ww: Exiv2 0
ghsa_unreviewed·2022-05-24
CVE-2019-17402 [MEDIUM] CWE-120 GHSA-xhv3-q5hx-88ww: Exiv2 0
Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp, because there is no validation of the relationship of the total size to the offset and size.
OSV
CVE-2019-17402: Exiv2 0
osv·2019-10-09·CVSS 6.5
CVE-2019-17402 [MEDIUM] CVE-2019-17402: Exiv2 0
Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp, because there is no validation of the relationship of the total size to the offset and size.
Ubuntu
Exiv2 vulnerability
vendor_ubuntu·2019-10-21
CVE-2019-17402 Exiv2 vulnerability
Title: Exiv2 vulnerability
Summary: Exiv2 could be made to crash if it received a specially crafted
file.
It was discovered that Exiv2 incorrectly handled certain files.
An attacker could possibly use this issue to cause a denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp because there is no validation of th
vendor_msrc·2019-10-08·CVSS 6.5
CVE-2019-17402 [MEDIUM] CWE-120 Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp because there is no validation of th
Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp because there is no validation of the relationship of the total size to the offset and size.
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
Red Hat
exiv2: out-of-bounds read in CiffDirectory::readDirectory due to lack of size check
vendor_redhat·2019-10-06·CVSS 6.5
CVE-2019-17402 [MEDIUM] CWE-125 exiv2: out-of-bounds read in CiffDirectory::readDirectory due to lack of size check
exiv2: out-of-bounds read in CiffDirectory::readDirectory due to lack of size check
Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp, because there is no validation of the relationship of the total size to the offset and size.
An out of bounds read vulnerability was discovered in the way exiv2 parses Canon raw format (CRW) images. An application that uses exiv2 library to parse untrusted images may be vulnerable to this flaw, which could be used by an attacker to extract data from the application's memory or make it crash. The biggest threat with this vulnerability is availability of the system.
Package: exiv2 (Red Hat Enterprise Linux 6) - Out of support scope
Package: co
Debian
CVE-2019-17402: exiv2 - Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp...
vendor_debian·2019·CVSS 6.5
CVE-2019-17402 [MEDIUM] CVE-2019-17402: exiv2 - Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp...
Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp, because there is no validation of the relationship of the total size to the offset and size.
Scope: local
bookworm: resolved (fixed in 0.27.3-1)
bullseye: resolved (fixed in 0.27.3-1)
forky: resolved (fixed in 0.27.3-1)
sid: resolved (fixed in 0.27.3-1)
trixie: resolved (fixed in 0.27.3-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-17402 exiv2: no validation of the relationship of the total size to the offset and size leads to a crash [fedora-all]
bugzilla·2019-11-18·CVSS 6.5
CVE-2019-17402 [MEDIUM] CVE-2019-17402 exiv2: no validation of the relationship of the total size to the offset and size leads to a crash [fedora-all]
CVE-2019-17402 exiv2: no validation of the relationship of the total size to the offset and size leads to a crash [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.
NOT
Bugzilla
CVE-2019-17402 exiv2: out-of-bounds read in CiffDirectory::readDirectory due to lack of size check
bugzilla·2019-11-18·CVSS 6.5
CVE-2019-17402 [MEDIUM] CVE-2019-17402 exiv2: out-of-bounds read in CiffDirectory::readDirectory due to lack of size check
CVE-2019-17402 exiv2: out-of-bounds read in CiffDirectory::readDirectory due to lack of size check
Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp, because there is no validation of the relationship of the total size to the offset and size.
Reference:
https://github.com/Exiv2/exiv2/issues/1019
Discussion:
Created exiv2 tracking bugs for this issue:
Affects: fedora-all [bug 1773684]
---
Upstream patch:
https://github.com/Exiv2/exiv2/commit/88054239e3c914862d13f6ac89a19a104fa2c076 [master branch]
https://github.com/Exiv2/exiv2/commit/50e9dd964a439da357798344ed1dd86edcadf0ec [0.27-maintanance branch]
Opened upstream issue to discuss improving the fix:
https://github.com/
https://github.com/Exiv2/exiv2/issues/1019https://lists.debian.org/debian-lts-announce/2019/12/msg00001.htmlhttps://lists.debian.org/debian-lts-announce/2023/01/msg00004.htmlhttps://usn.ubuntu.com/4159-1/https://github.com/Exiv2/exiv2/issues/1019https://lists.debian.org/debian-lts-announce/2019/12/msg00001.htmlhttps://lists.debian.org/debian-lts-announce/2023/01/msg00004.htmlhttps://usn.ubuntu.com/4159-1/
2019-10-09
Published