CVE-2018-5802: High severity Libraw Libraw vulnerability

Published Mar 8, 2018
·
Updated

An error within the "kodakradcloadraw()" function (internal/dcrawcommon.cpp) related to the "buf" variable can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.

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 "kodakradcloadraw()" function (internal/dcrawcommon.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.

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:08 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·09:51 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·09:51 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2018-5802?

CVE-2018-5802 is a vulnerability in LibRaw versions prior to 0.18.7 that can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.

2

What is the severity of CVE-2018-5802?

The severity of CVE-2018-5802 is high with a CVSS score of 8.8.

3

Which software versions are affected by CVE-2018-5802?

LibRaw versions prior to 0.18.7 are affected by CVE-2018-5802.

4

How can CVE-2018-5802 be fixed?

To fix CVE-2018-5802, update to LibRaw version 0.18.7 or higher.

5

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

You can find more information about CVE-2018-5802 on the Red Hat Errata page and the LibRaw GitHub repository.

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