CVE-2018-5801
publishedLibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.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 48 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 |
| SUSE / openSUSE | SLE-12-SP5 | dcrawaarch64 | Advisory build | 9.28.0-3.3.1 | SUSE-SU-2022:1749-1 |
| SUSE / openSUSE | SLE-12-SP5 | dcrawppc64le | Advisory build | 9.28.0-3.3.1 | SUSE-SU-2022:1749-1 |
| SUSE / openSUSE | SLE-12-SP5 | dcraws390x | Advisory build | 9.28.0-3.3.1 | SUSE-SU-2022:1749-1 |
| SUSE / openSUSE | SLE-12-SP5 | dcrawx86_64 | Advisory build | 9.28.0-3.3.1 | SUSE-SU-2022:1749-1 |
| SUSE / openSUSE | SLE-12-SP5 | dcraw-langnoarch | Advisory build | 9.28.0-3.3.1 | SUSE-SU-2022:1749-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | dcrawaarch64 | Advisory build | 9.28.0-150000.3.3.1 | SUSE-SU-2022:1277-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | dcrawppc64le | Advisory build | 9.28.0-150000.3.3.1 | SUSE-SU-2022:1277-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | dcraws390x | Advisory build | 9.28.0-150000.3.3.1 | SUSE-SU-2022:1277-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | dcrawx86_64 | Advisory build | 9.28.0-150000.3.3.1 | SUSE-SU-2022:1277-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | dcraw-langnoarch | Advisory build | 9.28.0-150000.3.3.1 | SUSE-SU-2022:1277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcrawaarch64 | Advisory build | 9.28.0-1.6 | OPENSUSE-SU-2024:10712-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcrawppc64le | Advisory build | 9.28.0-1.6 | OPENSUSE-SU-2024:10712-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcraws390x | Advisory build | 9.28.0-1.6 | OPENSUSE-SU-2024:10712-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcrawx86_64 | Advisory build | 9.28.0-1.6 | OPENSUSE-SU-2024:10712-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcraw-langaarch64 | Advisory build | 9.28.0-1.6 | OPENSUSE-SU-2024:10712-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcraw-langppc64le | Advisory build | 9.28.0-1.6 | OPENSUSE-SU-2024:10712-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcraw-langs390x | Advisory build | 9.28.0-1.6 | OPENSUSE-SU-2024:10712-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcraw-langx86_64 | Advisory build | 9.28.0-1.6 | OPENSUSE-SU-2024:10712-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 "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw versions prior to 0.18.7 can be exploited to trigger a NULL pointer dereference.
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 NULL pointer dereference
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/0df5490b985c419de008d32168650bff17128914
- [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
- 77239adc73a1880596df0680937bb7f05554affff6ef8bf689cc04865d23a93e
- Ingested
- 23 Sep 2026, 07:44:52 UTC
- Source record
- Official CVE record