CVE-2018-5800
publishedLibRaw: Heap-based buffer overflow in LibRaw::kodak_ycbcr_load_raw function in 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 off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.7 can be exploited to cause a heap-based buffer overflow 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 heap-based buffer overflow
References
8- 104663 http://www.securityfocus.com/bid/104663
- 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
- 8bd644a6975ceab564220168ddf5c703e1854cdd35cab674fe628f506714748b
- Ingested
- 23 Sep 2026, 07:44:52 UTC
- Source record
- Official CVE record