CVE-2018-5806
publishedLibRaw: NULL pointer dereference in leaf_hdr_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.8 | Affected | Not stated | flexera |
| Debian | stretch | libraw | Advisory build | 0.17.2-6+deb9u2 | DLA-2903-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-27.1 | SUSE-SU-2019:0002-1 |
| Oracle Linux | 7 | libkdcrawx86_64 | Advisory build | 0:4.10.5-5.el7 | ELSA-2018-3065 |
| 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 |
Show 53 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devels390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-develx86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-staticaarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-staticppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-statics390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw-devel-staticx86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9aarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9ppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9s390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP3 | libraw9x86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-develaarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-develppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-devels390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-develx86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-devel-staticaarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-devel-staticppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-devel-statics390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw-devel-staticx86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw9aarch64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw9ppc64le | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw9s390x | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-1 |
| SUSE / openSUSE | SLE-12-SP4 | libraw9x86_64 | Advisory build | 0.15.4-27.1 | SUSE-SU-2019:0002-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-2.1 | OPENSUSE-SU-2024:11997-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcrawppc64le | Advisory build | 9.28.0-2.1 | OPENSUSE-SU-2024:11997-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcraws390x | Advisory build | 9.28.0-2.1 | OPENSUSE-SU-2024:11997-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcrawx86_64 | Advisory build | 9.28.0-2.1 | OPENSUSE-SU-2024:11997-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcraw-langaarch64 | Advisory build | 9.28.0-2.1 | OPENSUSE-SU-2024:11997-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcraw-langppc64le | Advisory build | 9.28.0-2.1 | OPENSUSE-SU-2024:11997-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcraw-langs390x | Advisory build | 9.28.0-2.1 | OPENSUSE-SU-2024:11997-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dcraw-langx86_64 | Advisory build | 9.28.0-2.1 | OPENSUSE-SU-2024:11997-1 |
Description
An error within the "leaf_hdr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 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.8 (affected) | flexera · cna |
Weaknesses
1- DoS (Denial of Service) through NULL pointer dereference
References
5- 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/9f26ce37f5be86ea11bfc6831366558650b1f6ff
- 81000 https://secuniaresearch.flexerasoftware.com/advisories/81000/
- https://secuniaresearch.flexerasoftware.com/secunia_research/2018-3/
Provider assertions
2flexera · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0c761a12c7273107ca87c143a66bfe640dc727dc94161b4ad5c06095e133db96
- Ingested
- 23 Sep 2026, 07:44:52 UTC
- Source record
- Official CVE record