Bug 1663964 (CVE-2018-20365) - CVE-2018-20365 libraw: Heap-based buffer overflow in LibRaw::raw2image() resulting in a denial of service
Summary: CVE-2018-20365 libraw: Heap-based buffer overflow in LibRaw::raw2image() resu...
Status: NEW
Alias: CVE-2018-20365
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20181221,repor...
Keywords: Security
Depends On: 1663965 1663968 1671033 1671034 1663967
Blocks: 1663970
TreeView+ depends on / blocked
 
Reported: 2019-01-07 12:18 UTC by Andrej Nemec
Modified: 2019-06-08 23:47 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Andrej Nemec 2019-01-07 12:18:03 UTC
A Heap-based buffer overflow was found in LibRaw::raw2image() function. A maliciously crafted file could cause the application to crash.

Upstream issue:

https://github.com/LibRaw/LibRaw/issues/195

Comment 1 Andrej Nemec 2019-01-07 12:18:44 UTC
Created LibRaw tracking bugs for this issue:

Affects: epel-6 [bug 1663968]
Affects: fedora-all [bug 1663965]


Created mingw-LibRaw tracking bugs for this issue:

Affects: fedora-all [bug 1663967]

Comment 2 Riccardo Schirone 2019-01-30 10:28:53 UTC
Upstream patch:
https://github.com/LibRaw/LibRaw/commit/9b5c50d5fdf6d1386a31f08ecdae3a752fe63d07

Comment 3 Riccardo Schirone 2019-01-30 10:48:24 UTC
When opening Sinar raw images that enable filters, the image data are updated in the wrong way in libraw_cxx.cpp:open_datastream(), causing an heap-based buffer overflow in raw2image() function later on.

Comment 5 Debarshi Ray 2019-02-01 13:51:06 UTC
Should be fixed in LibRaw-0.19.3.


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