CVE-2018-5818: High severity Libraw Libraw vulnerability

Published Feb 20, 2019
·
Updated

An error within the "parserollei()" function (internal/dcrawcommon.cpp) within LibRaw versions prior to 0.19.1 can be exploited to trigger an infinite loop.

Affected Software

19 affected componentsFixes available
Libraw Libraw<0.19.1
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
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0
alpine/libraw<0.19.2-r0
0.19.2-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libraw to a version that resolves this vulnerability.

    Fixed in 0.20.2-1+deb11u1Fixed in 0.20.2-1+deb11u2Fixed in 0.20.2-2.1+deb12u1Fixed in 0.21.4-2Fixed in 0.21.5b-1
  2. Upgrade

    Upgrade alpine/libraw to a version that resolves this vulnerability.

    Fixed in 0.19.2-r0
  3. Upgrade

    Upgrade LibRaw to a version that resolves this vulnerability.

    Fixed in 0.19.1

Event History

Feb 20, 2019
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:29 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:29 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2018-5818.

2

What is the severity of CVE-2018-5818?

The severity of CVE-2018-5818 is high with a severity value of 7.5.

3

What is the affected software?

The affected software is LibRaw versions prior to 0.19.1.

4

How can the vulnerability be exploited?

The vulnerability can be exploited by triggering an infinite loop within the "parse_rollei()" function in LibRaw.

5

Is there a fix available for this vulnerability?

Yes, there are fixes available for this vulnerability. For Debian, the fix is available in versions 0.19.2-2 and later. For Ubuntu, the fix is available in versions 0.18.8-1ubuntu0.3 and later.

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