Bug 1728486 (CVE-2019-13110) - CVE-2019-13110 exiv2: integer-overflow and out-of-bounds read in CiffDirectory::readDirectory leads to denail of service
Summary: CVE-2019-13110 exiv2: integer-overflow and out-of-bounds read in CiffDirector...
Alias: CVE-2019-13110
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
: CVE-2020-19715 (view as bug list)
Depends On: 1728487 1730404
Blocks: 1728496 1988983
TreeView+ depends on / blocked
Reported: 2019-07-10 05:09 UTC by Dhananjay Arunesh
Modified: 2021-10-27 10:46 UTC (History)
4 users (show)

Fixed In Version: exiv 0.27.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-10-27 10:46:04 UTC

Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-07-10 05:09:02 UTC
A CiffDirectory::readDirectory integer overflow and out-of-bounds read in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (SIGSEGV) via a crafted CRW image file.


Comment 1 Dhananjay Arunesh 2019-07-10 05:10:20 UTC
Created exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 1728487]

Comment 5 Riccardo Schirone 2019-07-16 15:42:39 UTC

This issue did not affect the versions of exiv2 as shipped with Red Hat Enterprise Linux 8 as they did not include the vulnerable code.

Comment 6 Riccardo Schirone 2019-07-16 15:47:36 UTC
Function CiffDirectory::readDirectory() in crwimage.cpp checks whether the value `o` read from the image is valid, however the check is performed as `if (o + 2 > size)`, which could be bypassed when `o + 2` wraps around. This leads to an out-of-bound read when reading the `count` value.

Comment 8 Todd Cullum 2021-08-03 00:45:00 UTC
*** Bug 1988977 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.