CVE-2018-5801: Null Pointer Dereference

Published Mar 8, 2018
·
Updated

An error within the "LibRaw::unpack()" function (src/librawcxx.cpp) can be exploited to trigger a NULL pointer dereference.

External References:

https://packetstormsecurity.com/files/146172/secunia-libraw.txt

Upstream Patch:

https://github.com/LibRaw/LibRaw/commit/8682ad204392b91

Other sources

An error within the "LibRaw::unpack()" function (src/librawcxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.

Launchpad

Affected Software

10 affected componentsFixes available
redhat/LibRaw<0.18.7
0.18.7
Libraw Libraw<0.18.7
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Debian Debian Linux=8.0
debian/libraw
0.20.2-1+deb11u10.20.2-1+deb11u20.20.2-2.1+deb12u10.21.4-20.21.5b-1

Event History

Dec 7, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionWeakness
Data Sourced
via NVD·10:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:07 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·09:51 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·09:52 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2018-5801?

CVE-2018-5801 is a vulnerability in the LibRaw library that allows an attacker to trigger a NULL pointer dereference.

2

How severe is CVE-2018-5801?

CVE-2018-5801 has a severity rating of 6.5, which is considered medium.

3

Which versions of LibRaw are affected by CVE-2018-5801?

Versions of LibRaw prior to 0.18.7 are affected by CVE-2018-5801.

4

How can I fix CVE-2018-5801?

To fix CVE-2018-5801, update LibRaw to version 0.18.7 or later.

5

Where can I find more information about CVE-2018-5801?

You can find more information about CVE-2018-5801 at the following references: [link1](https://access.redhat.com/errata/RHSA-2018:3065), [link2](https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt), [link3](https://github.com/LibRaw/LibRaw/commit/0df5490b985c419de008d32168650bff17128914).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203