Bug 1591897 (CVE-2018-5806) - CVE-2018-5806 LibRaw: NULL pointer dereference in leaf_hdr_load_raw() function in internal/dcraw_common.cpp
Summary: CVE-2018-5806 LibRaw: NULL pointer dereference in leaf_hdr_load_raw() functio...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-5806
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1591898 1591899 1591900 1591901 1591902 1591903 1610501 1610511 1610707
Blocks: 1591907
TreeView+ depends on / blocked
 
Reported: 2018-06-15 18:12 UTC by Pedro Sampaio
Modified: 2021-02-17 00:07 UTC (History)
15 users (show)

Fixed In Version: LibRaw 0.18.8
Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer dereference vulnerability in internal/dcraw_common.cpp:leaf_hdr_load_raw() function was found in LibRaw. A user can cause a denial of service when processing specially-crafted RAW data.
Clone Of:
Environment:
Last Closed: 2019-06-10 10:29:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3065 0 None None None 2018-10-30 07:29:43 UTC

Description Pedro Sampaio 2018-06-15 18:12:21 UTC
An error within the "leaf_hdr_load_raw()" function
(internal/dcraw_common.cpp) can be exploited to trigger a NULL pointer
dereference.

References:

https://secuniaresearch.flexerasoftware.com/secunia_research/2018-03

Comment 1 Pedro Sampaio 2018-06-15 18:13:13 UTC
Created LibRaw tracking bugs for this issue:

Affects: epel-6 [bug 1591900]
Affects: fedora-all [bug 1591899]


Created dcraw tracking bugs for this issue:

Affects: fedora-all [bug 1591901]


Created libkdcraw tracking bugs for this issue:

Affects: fedora-all [bug 1591903]


Created mingw-LibRaw tracking bugs for this issue:

Affects: fedora-all [bug 1591902]


Created rawtherapee tracking bugs for this issue:

Affects: fedora-all [bug 1591898]

Comment 4 Adam Mariš 2018-07-31 19:19:33 UTC
Statement:

This issue did not affect the versions of dcraw as shipped with Red Hat Enterprise Linux 5 and 6 as they did not include the vulnerable code.

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

Comment 6 errata-xmlrpc 2018-10-30 07:29:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3065 https://access.redhat.com/errata/RHSA-2018:3065

Comment 7 Debarshi Ray 2018-11-22 17:15:20 UTC
This was fixed in LibRaw-0.18.8 and LibRaw-0.19.0-Beta1.


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