CVE-2018-5818 json
An error within the "parse_rollei()" function (internal/dcraw_common.cpp) within LibRaw versions prior to 0.19.1 can be exploited to trigge…
published 2019-02-20 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17585
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
An error within the "parse_rollei()" function (internal/dcraw_common.cpp) within LibRaw versions prior to 0.19.1 can be exploited to trigger an infinite loop.
Patch / fix
- libraw libraw 0.19.1
- libraw Debian 14, Debian 13, Debian 12 0.19.1-1
debian advisories DEBIAN-CVE-2018-5818
- libraw Ubuntu 16.04 LTS 0.17.1-1ubuntu0.5
- libraw Ubuntu 18.04 LTS 0.18.8-1ubuntu0.3
ubuntu advisories UBUNTU-CVE-2018-5818
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- cairo RHEL 7 1.15.12-4.el7
- finch RHEL 7 2.10.11-8.el7
- glib2 RHEL 7 2.56.1-5.el7
- pango RHEL 7 1.42.4-3.el7
- xchat RHEL 7 1:2.8.8-24.el7
- LibRaw RHEL 7 0.19.2-1.el7
- mutter RHEL 7 3.28.3-10.el7
- pidgin RHEL 7 2.10.11-8.el7
red hat advisories RHBA-2019:2044
- libraw SLE Workstation Extension 15 0.18.9-3.8.1
- libraw SLED 12 SP4, SLED 12 SP3, SLE Workstation Extension 12 SP4 +3 more 0.15.4-30.1
suse advisories SUSE-SU-2019:0133-1SUSE-SU-2019:0127-1
- libraw openSUSE Leap 15.0 0.18.9-lp150.2.6.1
opensuse advisories openSUSE-SU-2019:0094-1
- libraw Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 0.19.2-r0
alpine advisories ALPINE-CVE-2018-5818
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-5818 updated cvss 3.3
LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp
-
Red Hat Ansible Tower 3.4 for RHEL 7 Server ansible-tower-34/ansible-tower-memcached 1.4.15-28, ansible-tower-35/ansible-tower-memcached 1.4.15-28, ansible-tower-37/ansible-tower-memcached-rhel7 1.4.15-28fixed: vendor fix RHBA-2020:0547
-
Red Hat Enterprise Linux Client (v. 7) glib2 2.56.1-5.el7, pango 1.42.4-3.el7, xchat 2.8.8-24.el7, cairo 1.15.12-4.el7, LibRaw 0.19.2-1.el7, mutter 3.28.3-10.el7, +37 more Red Hat Enterprise Linux Client Optional (v. 7) finch 2.10.11-8.el7, glib2-fam 2.56.1-5.el7, xchat-tcl 2.8.8-24.el7, glib2-tests 2.56.1-5.el7, pango-tests 1.42.4-3.el7, cairo-tools 1.15.12-4.el7, +25 more Red Hat Enterprise Linux ComputeNode (v. 7) glib2 2.56.1-5.el7, pango 1.42.4-3.el7, cairo 1.15.12-4.el7, libgnomekbd 3.26.0-3.el7, cairo-gobject 1.15.12-4.el7, desktop-file-utils 0.23-2.el7, +6 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) mutter 3.28.3-10.el7, glib2-fam 2.56.1-5.el7, glib2-tests 2.56.1-5.el7, pango-tests 1.42.4-3.el7, cairo-tools 1.15.12-4.el7, gnome-shell 3.28.3-11.el7, +18 more Red Hat Enterprise Linux Server (v. 7) glib2 2.56.1-5.el7, pango 1.42.4-3.el7, cairo 1.15.12-4.el7, LibRaw 0.19.2-1.el7, mutter 3.28.3-10.el7, pidgin 2.10.11-8.el7, +34 more Red Hat Enterprise Linux Server Optional (v. 7) xchat 2.8.8-24.el7, finch 2.10.11-8.el7, pidgin 2.10.11-8.el7, glib2-fam 2.56.1-5.el7, xchat-tcl 2.8.8-24.el7, glib2-tests 2.56.1-5.el7, +29 morefixed: vendor fix RHBA-2019:2044
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) glib2 2.56.1-5.el7, pango 1.42.4-3.el7, xchat 2.8.8-24.el7, cairo 1.15.12-4.el7, LibRaw 0.19.2-1.el7, mutter 3.28.3-10.el7, +37 more Red Hat Enterprise Linux Workstation Optional (v. 7) finch 2.10.11-8.el7, glib2-fam 2.56.1-5.el7, xchat-tcl 2.8.8-24.el7, glib2-tests 2.56.1-5.el7, pango-tests 1.42.4-3.el7, cairo-tools 1.15.12-4.el7, +25 more -
Red Hat Enterprise Linux 8 LibRawnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.33% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
usn.ubuntu.com
/3989-1/
vendor-advisory
-
libraw.org
/news/libraw-0-19-2-release
release-notes, vendor-advisory
-
secuniaresearch.flexerasoftware.com
/secunia_research/2018-27/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/03/msg00036.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-5818
- NVD CVE-2018-5818
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.