cve.bz

CVE-2018-5818 Infinite Loop

7.5 highEPSS 2.3%

High (7.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-5818 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-5818?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-5818?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-5818 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libraw:librawbefore 0.19.1
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libraw0.16.0-9+deb8u4DLA-1734-1
Debian9libraw0.17.2-6+deb9u2DLA-2903-1
Debian12, 13, 14libraw0.19.1-1DEBIAN-CVE-2018-5818
Ubuntu16.04:LTSlibraw0.17.1-1ubuntu0.5UBUNTU-CVE-2018-5818 USN-3989-1
Ubuntu16.04:LTS, 18.04:LTSkodi, dcraw, ufraw and 3 moreno fix listedUBUNTU-CVE-2018-5818
Ubuntu18.04:LTSlibraw0.18.8-1ubuntu0.3UBUNTU-CVE-2018-5818 USN-3989-1
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morekodi, dcraw, darktable and 2 moreno fix listedUBUNTU-CVE-2018-5818
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreaccountsservice, accountsservice-libs, accountsservice-devel and 1 more0:0.6.50-5.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morecairo, cairo-devel, cairo-tools and 3 more0:1.15.12-4.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moredesktop-file-utils, desktop-file-utils-debuginfo0:0.23-2.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreglib2, glib2-doc, glib2-fam and 4 more0:2.56.1-5.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moregnome-settings-daemon, gnome-settings-daemon-devel, gnome-settings-daemon-debuginfo0:3.28.1-4.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moregnome-shell, gnome-shell-debuginfo0:3.28.3-11.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morelibgnomekbd, libgnomekbd-devel, libgnomekbd-debuginfo0:3.26.0-3.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moremutter, mutter-devel, mutter-debuginfo0:3.28.3-10.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepango, pango-devel, pango-tests and 1 more0:1.42.4-3.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreplymouth, plymouth-devel, plymouth-scripts and 16 more0:0.8.9-0.32.20140113.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationLibRaw, LibRaw-devel, LibRaw-static and 1 more0:0.19.2-1.el7RHBA-2019:2044
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationfinch, pidgin, libpurple and 7 more0:2.10.11-8.el7RHBA-2019:2044
9 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4, Linux Enterprise Software Development Kit 12 SP3 and 3 morelibraw0.15.4-30.1SUSE-SU-2019:0127-1
SUSELinux Enterprise Workstation Extension 15libraw0.18.9-3.8.1SUSE-SU-2019:0133-1
openSUSELeap 15.0libraw0.18.9-lp150.2.6.1openSUSE-SU-2019:0094-1
Alpinev3.9, v3.10, v3.11 and 13 morelibraw0.19.2-r0ALPINE-CVE-2018-5818

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-34/ansible-tower-memcached:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-35/ansible-tower-memcached:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Enterprise Linux 7accountsservice-0:0.6.50-5.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7cairo-0:1.15.12-4.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7desktop-file-utils-0:0.23-2.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7glib2-0:2.56.1-5.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7gnome-boxes-0:3.28.5-4.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7gnome-documents-0:3.28.2-2.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7gnome-initial-setup-0:3.28.0-2.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7gnome-session-0:3.28.1-7.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7gnome-settings-daemon-0:3.28.1-4.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7gnome-shell-0:3.28.3-11.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7gnome-shell-extensions-0:3.28.1-7.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7libgnomekbd-0:3.26.0-3.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7libkdcraw-0:4.10.5-7.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7LibRaw-0:0.19.2-1.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7mutter-0:3.28.3-10.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 7nautilus-0:3.26.3.1-6.el7Fixed 2019-08-06RHBA-2019:2044
Red Hat Enterprise Linux 8LibRawNot affected
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-5818.

References

Check your stackJSON