CVE-2018-5802
published 2018-12-07CVE-2018-5802: An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be…
PriorityP340high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
1.97%
78.1th percentile
An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | libraw | < libraw 0.18.7-1 (bookworm) | libraw 0.18.7-1 (bookworm) |
| libraw | libraw | < 0.18.7 | 0.18.7 |
| libraw | libraw | — | — |
| libraw | libraw | >= 0 < 0.18.7-1 | 0.18.7-1 |
| libraw | libraw | >= 0 < 0.18.7-1 | 0.18.7-1 |
| libraw | libraw | >= 0 < 0.18.7-1 | 0.18.7-1 |
| libraw | libraw | >= 0 < 0.18.7-1 | 0.18.7-1 |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
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-j2qq-rw4v-jjx2: An error within the "kodak_radc_load_raw()" function (internal/dcraw_common
ghsa_unreviewed·2022-05-13
CVE-2018-5802 [HIGH] CWE-125 GHSA-j2qq-rw4v-jjx2: An error within the "kodak_radc_load_raw()" function (internal/dcraw_common
An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
OSV
CVE-2018-5802: An error within the "kodak_radc_load_raw()" function (internal/dcraw_common
osv·2018-12-07·CVSS 8.8
CVE-2018-5802 [HIGH] CVE-2018-5802: An error within the "kodak_radc_load_raw()" function (internal/dcraw_common
An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
Ubuntu
LibRaw vulnerabilities
vendor_ubuntu·2018-04-03
CVE-2017-16909 LibRaw vulnerabilities
Title: LibRaw vulnerabilities
Summary: LibRaw could be made to crash or run programs as your login if it opened a
specially crafted file.
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: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp
vendor_redhat·2018-01-30·CVSS 8.8
CVE-2018-5802 [HIGH] CWE-122 LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp
LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp
An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
An out-of-bounds read flaw was found in the way LibRaw processed images. An attacker could potentially use this flaw to crash applications using LibRaw by tricking them into processing crafted images.
Package: dcraw (Red Hat Enterprise Linux 5) - Will not fix
Package: dcraw (Red Hat Enterprise Linux 6) - Fix deferred
Package: dcraw (Red Hat Enterprise Linux 7) - Not affected
Package: LibRaw (Red Hat Enterprise Linux 7) - Will not fix
Package: dcraw (Red Hat Enterp
Debian
CVE-2018-5802: libraw - An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp)...
vendor_debian·2018·CVSS 8.8
CVE-2018-5802 [HIGH] CVE-2018-5802: libraw - An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp)...
An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
Scope: local
bookworm: resolved (fixed in 0.18.7-1)
bullseye: resolved (fixed in 0.18.7-1)
forky: resolved (fixed in 0.18.7-1)
sid: resolved (fixed in 0.18.7-1)
trixie: resolved (fixed in 0.18.7-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-5802 dcraw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]
bugzilla·2020-04-22·CVSS 8.8
CVE-2018-5802 [HIGH] CVE-2018-5802 dcraw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]
CVE-2018-5802 dcraw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function 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
Bugzilla
CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]
bugzilla·2020-04-22·CVSS 8.8
CVE-2018-5802 [HIGH] CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]
CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function 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 a
Bugzilla
CVE-2018-5802 rawtherapee: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]
bugzilla·2020-04-22·CVSS 8.8
CVE-2018-5802 [HIGH] CVE-2018-5802 rawtherapee: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]
CVE-2018-5802 rawtherapee: LibRaw: Out-of-bounds read in kodak_radc_load_raw function 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:
Bugzilla
CVE-2018-5802 mingw-LibRaw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]
bugzilla·2020-04-22·CVSS 8.8
CVE-2018-5802 [HIGH] CVE-2018-5802 mingw-LibRaw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]
CVE-2018-5802 mingw-LibRaw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function 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
Bugzilla
CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [epel-6]
bugzilla·2020-04-22·CVSS 8.8
CVE-2018-5802 [HIGH] CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [epel-6]
CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function 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 follo
Bugzilla
CVE-2018-5802 libkdcraw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]
bugzilla·2020-04-22·CVSS 8.8
CVE-2018-5802 [HIGH] CVE-2018-5802 libkdcraw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp [fedora-all]
CVE-2018-5802 libkdcraw: LibRaw: Out-of-bounds read in kodak_radc_load_raw function 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: t
Bugzilla
CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp
bugzilla·2018-03-08·CVSS 8.8
CVE-2018-5802 [HIGH] CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp
CVE-2018-5802 LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp
An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
External References:
https://packetstormsecurity.com/files/146172/secunia-libraw.txt
Upstream Patch:
https://github.com/LibRaw/LibRaw/commit/8682ad204392b91
Discussion:
This was fixed in LibRaw-0.18.7. The commit message has 7 typoed as 17.
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2018:3065 https://access.redhat.com/errata/RHSA-2018:3065
---
Created LibRaw tracking bugs for this issue:
Affects: epel-6 [bug 1826585]
Affects
https://access.redhat.com/errata/RHSA-2018:3065https://github.com/LibRaw/LibRaw/blob/master/Changelog.txthttps://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4https://lists.debian.org/debian-lts-announce/2019/03/msg00036.htmlhttps://secuniaresearch.flexerasoftware.com/advisories/79000/https://secuniaresearch.flexerasoftware.com/secunia_research/2018-1/https://usn.ubuntu.com/3615-1/https://access.redhat.com/errata/RHSA-2018:3065https://github.com/LibRaw/LibRaw/blob/master/Changelog.txthttps://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4https://lists.debian.org/debian-lts-announce/2019/03/msg00036.htmlhttps://secuniaresearch.flexerasoftware.com/advisories/79000/https://secuniaresearch.flexerasoftware.com/secunia_research/2018-1/https://usn.ubuntu.com/3615-1/
2018-12-07
Published