CVE-2018-5802
publishedLibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | LibRawPrior to 0.18.7 | Affected | Not stated | flexera |
| Debian | jessie | libraw | Advisory build | 0.16.0-9+deb8u4 | DLA-1734-1 |
| Oracle Linux | 7 | libkdcrawaarch64 | Advisory build | 0:4.10.5-5.el7 | ELSA-2018-3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcrawaarch64 | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-develaarch64 | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| Ubuntu | trusty | libraw | Advisory build | 0.15.4-1ubuntu0.2 | USN-3615-1 |
| Debian | stretch | libraw | Advisory build | 0.17.2-6+deb9u2 | DLA-2903-1 |
| Oracle Linux | 7 | libkdcrawx86_64 | Advisory build | 0:4.10.5-5.el7 | ELSA-2018-3065 |
Show 30 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | libkdcraw-develaarch64 | Advisory build | 0:4.10.5-5.el7 | ELSA-2018-3065 |
| Oracle Linux | 7 | libkdcraw-develx86_64 | Advisory build | 0:4.10.5-5.el7 | ELSA-2018-3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcrawi686 | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcrawppc64le | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcrawsrc | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcrawx86_64 | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcraw-debuginfoaarch64 | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcraw-debuginfoi686 | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcraw-debuginfoppc64le | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcraw-debuginfox86_64 | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcraw-develaarch64 | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcraw-develi686 | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcraw-develppc64le | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| Red Hat Enterprise Linux | RHEL-7 | libkdcraw-develx86_64 | Advisory build | 4.10.5-5.el7 | RHSA-2018:3065 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-develppc64le | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devels390x | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-develx86_64 | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-staticaarch64 | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-staticppc64le | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-statics390x | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-staticx86_64 | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9aarch64 | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9ppc64le | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9s390x | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9x86_64 | Advisory build | 0.15.4-21.1 | SUSE-SU-2018:3343-1 |
| Ubuntu | trusty | libraw-bin | Advisory build | 0.15.4-1ubuntu0.2 | USN-3615-1 |
| Ubuntu | trusty | libraw9 | Advisory build | 0.15.4-1ubuntu0.2 | USN-3615-1 |
| Ubuntu | xenial | libraw | Advisory build | 0.17.1-1ubuntu0.2 | USN-3615-1 |
| Ubuntu | xenial | libraw-bin | Advisory build | 0.17.1-1ubuntu0.2 | USN-3615-1 |
| Ubuntu | xenial | libraw15 | Advisory build | 0.17.1-1ubuntu0.2 | USN-3615-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | LibRaw | Prior to 0.18.7 (affected) | flexera · cna |
Weaknesses
1- DoS (Denial of Service) through out-of-bounds read memory access
References
7- RHSA-2018:3065 https://access.redhat.com/errata/RHSA-2018:3065
- https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt
- https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4
- [debian-lts-announce] 20190328 [SECURITY] [DLA 1734-1] libraw security update https://lists.debian.org/debian-lts-announce/2019/03/msg00036.html
- 79000 https://secuniaresearch.flexerasoftware.com/advisories/79000/
- https://secuniaresearch.flexerasoftware.com/secunia_research/2018-1/
- USN-3615-1 https://usn.ubuntu.com/3615-1/
Provider assertions
2flexera · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 72f99c600dfca53c108436e52f56eac5b10d6f139271f114a4ce327f6e81cad8
- Ingested
- 23 Sep 2026, 07:44:52 UTC
- Source record
- Official CVE record