CVE-2018-5818
published 2019-02-20CVE-2018-5818: 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.
PriorityP337high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
2.33%
81.8th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | libraw | < libraw 0.19.1-1 (bookworm) | libraw 0.19.1-1 (bookworm) |
| libraw | libraw | < 0.19.1 | 0.19.1 |
| libraw | libraw | >= 0 < 0.19.1-1 | 0.19.1-1 |
| libraw | libraw | >= 0 < 0.19.1-1 | 0.19.1-1 |
| libraw | libraw | >= 0 < 0.19.1-1 | 0.19.1-1 |
| libraw | libraw | >= 0 < 0.19.1-1 | 0.19.1-1 |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-jr5q-2x4q-6mhg: An error within the "parse_rollei()" function (internal/dcraw_common
ghsa_unreviewed·2022-05-13
CVE-2018-5818 [HIGH] CWE-835 GHSA-jr5q-2x4q-6mhg: An error within the "parse_rollei()" function (internal/dcraw_common
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.
OSV
CVE-2018-5818: An error within the "parse_rollei()" function (internal/dcraw_common
osv·2019-02-20·CVSS 7.5
CVE-2018-5818 [HIGH] CVE-2018-5818: An error within the "parse_rollei()" function (internal/dcraw_common
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.
Ubuntu
LibRaw vulnerabilities
vendor_ubuntu·2019-05-21
CVE-2018-20337 LibRaw vulnerabilities
Title: LibRaw vulnerabilities
Summary: Several security issues were fixed in LibRaw.
It was discovered that LibRaw incorrectly handled photo files. If a user or
automated system were tricked into processing a specially crafted photo
file, a remote attacker could cause applications linked against LibRaw to
crash, resulting in a denial of service, or possibly execute arbitrary
code.
Instructions: After a standard system update you need to restart your session to make
all the necessary changes.
Red Hat
LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp
vendor_redhat·2018-12-13·CVSS 7.5
CVE-2018-5818 [HIGH] CWE-835 LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp
LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp
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.
Package: LibRaw (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-5818: libraw - An error within the "parse_rollei()" function (internal/dcraw_common.cpp) within...
vendor_debian·2018·CVSS 7.5
CVE-2018-5818 [HIGH] CVE-2018-5818: libraw - An error within the "parse_rollei()" function (internal/dcraw_common.cpp) within...
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.
Scope: local
bookworm: resolved (fixed in 0.19.1-1)
bullseye: resolved (fixed in 0.19.1-1)
forky: resolved (fixed in 0.19.1-1)
sid: resolved (fixed in 0.19.1-1)
trixie: resolved (fixed in 0.19.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-5818 LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp [epel-6]
bugzilla·2018-12-21·CVSS 7.5
CVE-2018-5818 [HIGH] CVE-2018-5818 LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp [epel-6]
CVE-2018-5818 LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to fo
Bugzilla
CVE-2018-5818 LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp [fedora-28]
bugzilla·2018-12-21·CVSS 7.5
CVE-2018-5818 [HIGH] CVE-2018-5818 LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp [fedora-28]
CVE-2018-5818 LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp [fedora-28]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-28.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template
Bugzilla
CVE-2018-5818 mingw-LibRaw: LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp [fedora-all]
bugzilla·2018-12-21·CVSS 7.5
CVE-2018-5818 [HIGH] CVE-2018-5818 mingw-LibRaw: LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp [fedora-all]
CVE-2018-5818 mingw-LibRaw: LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affect
Bugzilla
CVE-2018-5818 LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp
bugzilla·2018-12-21·CVSS 7.5
CVE-2018-5818 [HIGH] CVE-2018-5818 LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp
CVE-2018-5818 LibRaw: DoS in parse_rollei function in internal/dcraw_common.cpp
LibRaw is vulnerable to a denial of service, caused by a flaw in the parse_rollei function in internal/dcraw_common.cpp. By persuading a victim to open a specially-crafted file, a remote attacker could exploit this vulnerability to cause the application to enter into an infinite loop.
References:
https://www.flexera.com/company/secunia-research/advisories/SR-2018-27.html
Discussion:
Created LibRaw tracking bugs for this issue:
Affects: epel-6 [bug 1661611]
Affects: fedora-28 [bug 1661609]
Created mingw-LibRaw tracking bugs for this issue:
Affects: fedora-all [bug 1661610]
---
Upstream patch:
https://github.com/LibRaw/LibRaw/commit/e67a9862d10ebaa97712f532eca1eb5e2e410a22
---
Function parse_rollei()
https://lists.debian.org/debian-lts-announce/2019/03/msg00036.htmlhttps://secuniaresearch.flexerasoftware.com/secunia_research/2018-27/https://usn.ubuntu.com/3989-1/https://www.libraw.org/news/libraw-0-19-2-releasehttps://lists.debian.org/debian-lts-announce/2019/03/msg00036.htmlhttps://secuniaresearch.flexerasoftware.com/secunia_research/2018-27/https://usn.ubuntu.com/3989-1/https://www.libraw.org/news/libraw-0-19-2-release
2019-02-20
Published