Secunia Research: LibRaw Multiple Denial of Service Vulnerabilities

======================================================================

                    Secunia Research 2018/05/30
                                            
         LibRaw Multiple Denial of Service Vulnerabilities

======================================================================
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Description of Vulnerabilities.......................................3
Solution.............................................................4
Time Table...........................................................5
Credits..............................................................6
References...........................................................7
About Flexera........................................................8
Verification.........................................................9

======================================================================
1) Affected Software

* LibRaw versions prior to 0.18.9.

======================================================================
2) Severity

Rating: Moderately critical
Impact: Denial of Service
Where:  From remote

======================================================================
3) Description of Vulnerabilities

Secunia Research has discovered multiple vulnerabilities in LibRaw,
which can be exploited by malicious people to cause a DoS (Denial of
Service).

1) An  error  within  the  "samsung_load_raw()"  function
(internal/dcraw_common.cpp) can be exploited to cause an out-of-bounds
read memory access and subsequently cause a crash.

2) An  error  within  the  "rollei_load_raw()"  function
(internal/dcraw_common.cpp) can be exploited to cause a heap-based
buffer overflow and subsequently cause a crash.

3) An  error  within  the  "nikon_coolscan_load_raw()"  function
(internal/dcraw_common.cpp) can be exploited to cause an out-of-bounds
read memory access and subsequently cause a crash.

4) Another  error  within  the  "nikon_coolscan_load_raw()"  function
(internal/dcraw_common.cpp) can be exploited to trigger a NULL pointer
dereference.

The vulnerabilities are confirmed in version 0.18.8 and reported in
versions prior to 0.18.9.

======================================================================
4) Solution

Update to version 0.18.9 or later.

======================================================================
5) Time Table

2018/04/23 - Maintainer contacted with vulnerabilities details.
2018/04/24 - Maintainer confirmed the vulnerabilities.
2018/04/26 - Maintainer released a fix.
2018/04/30 - Release of Secunia Advisory SA81800.
2018/05/30 - Public disclosure of Secunia Research Advisory.

======================================================================
6) Credits

Laurent Delosieres, Secunia Research at Flexera.

======================================================================
7) References

The Flexera CNA has assigned the  CVE-2018-5807, CVE-2018-5810,
CVE-2018-5811, and CVE-2018-5812 identifiers for the vulnerabilities
through the Common Vulnerabilities and Exposures (CVE) project.

======================================================================
8) About Flexera

Flexera helps application producers and enterprises increase
application usage and the value they derive from their software.

http://www.flexera.com/enterprise/company/about/

Flexera delivers market-leading Software Vulnerability Management
solutions enabling enterprises to proactively identify and
remediate software vulnerabilities, effectively reducing the risk of
costly security breaches.

http://www.flexera.com/enterprise/products/

Flexera supports and contributes to the community in several
ways. We have always believed that reliable vulnerability
intelligence and tools to aid identifying and fixing vulnerabilities
should be freely available for consumers to ensure that users,
who care about their online privacy and security, can stay secure.
Only a few vendors address vulnerabilities in a proper way and help
users get updated and stay secure. End-users (whether private
individuals or businesses) are otherwise left largely alone, and
that is why back in 2002, Secunia Research started investigating,
coordinating disclosure and verifying software vulnerabilities.
In 2016, Secunia Research became a part of Flexera and today
our in-house software vulnerability research remains the core  of
the Software Vulnerability Management products at Flexera.

https://secuniaresearch.flexera.com/community/research/

The public Secunia Advisory database contains information for
researchers, security enthusiasts, and consumers to lookup individual
products and vulnerabilities and assess, whether they need to take
any actions to secure their systems or whether a given vulnerability
has already been discovered.

https://secuniaresearch.flexera.com/community/advisories/

======================================================================
9) Verification

Please verify this advisory by visiting the website:
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-10

======================================================================