CVE-2018-5800: Buffer Overflow

Published Mar 8, 2018
·
Updated

An off-by-one error within the "LibRaw::kodakycbcrloadraw()" function (internal/dcrawcommon.cpp) can be exploited to cause a heap-based buffer overflow 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 off-by-one error within the "LibRaw::kodakycbcrloadraw()" function (internal/dcrawcommon.cpp) in LibRaw versions prior to 0.18.7 can be exploited to cause a heap-based buffer overflow 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: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-5800?

CVE-2018-5800 refers to an off-by-one error within the LibRaw::kodak_ycbcr_load_raw() function, which can lead to a heap-based buffer overflow and crash.

2

How severe is CVE-2018-5800?

CVE-2018-5800 has a severity rating of 6.5 out of 10.

3

What software versions are affected by CVE-2018-5800?

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

4

How can I fix CVE-2018-5800?

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

5

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

You can find more information about CVE-2018-5800 at the following references: [1](http://www.securityfocus.com/bid/104663), [2](https://access.redhat.com/errata/RHSA-2018:3065), [3](https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt)

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