CVE-2018-5801
published 2018-12-07CVE-2018-5801: 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.
PriorityP427medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
2.04%
79.1th percentile
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.
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.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
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-chvh-r3pc-vjf8: An error within the "LibRaw::unpack()" function (src/libraw_cxx
ghsa_unreviewed·2022-05-14
CVE-2018-5801 [MEDIUM] CWE-476 GHSA-chvh-r3pc-vjf8: An error within the "LibRaw::unpack()" function (src/libraw_cxx
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.
OSV
CVE-2018-5801: An error within the "LibRaw::unpack()" function (src/libraw_cxx
osv·2018-12-07·CVSS 6.5
CVE-2018-5801 [MEDIUM] CVE-2018-5801: An error within the "LibRaw::unpack()" function (src/libraw_cxx
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.
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: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp
vendor_redhat·2018-01-30·CVSS 6.5
CVE-2018-5801 [MEDIUM] CWE-119 LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp
LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp
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.
A NULL pointer dereference 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 Enterprise Linux 8) - Not affected
Package: LibRaw (Red Hat Enterprise Linux 8) - Not
Debian
CVE-2018-5801: libraw - An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw v...
vendor_debian·2018·CVSS 6.5
CVE-2018-5801 [MEDIUM] CVE-2018-5801: libraw - An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) in LibRaw v...
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.
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-5801 libkdcraw: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [fedora-all]
bugzilla·2018-03-16·CVSS 6.5
CVE-2018-5801 [MEDIUM] CVE-2018-5801 libkdcraw: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [fedora-all]
CVE-2018-5801 libkdcraw: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.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 is
Bugzilla
CVE-2018-5801 dcraw: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [fedora-all]
bugzilla·2018-03-16·CVSS 6.5
CVE-2018-5801 [MEDIUM] CVE-2018-5801 dcraw: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [fedora-all]
CVE-2018-5801 dcraw: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.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
Bugzilla
CVE-2018-5801 LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [fedora-all]
bugzilla·2018-03-16·CVSS 6.5
CVE-2018-5801 [MEDIUM] CVE-2018-5801 LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [fedora-all]
CVE-2018-5801 LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.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 affects
Bugzilla
CVE-2018-5801 rawtherapee: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [fedora-all]
bugzilla·2018-03-16·CVSS 6.5
CVE-2018-5801 [MEDIUM] CVE-2018-5801 rawtherapee: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [fedora-all]
CVE-2018-5801 rawtherapee: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.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-5801 mingw-LibRaw: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [fedora-all]
bugzilla·2018-03-16·CVSS 6.5
CVE-2018-5801 [MEDIUM] CVE-2018-5801 mingw-LibRaw: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [fedora-all]
CVE-2018-5801 mingw-LibRaw: LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.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-5801 LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [epel-6]
bugzilla·2018-03-16·CVSS 6.5
CVE-2018-5801 [MEDIUM] CVE-2018-5801 LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp [epel-6]
CVE-2018-5801 LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.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 following t
Bugzilla
CVE-2018-5801 LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp
bugzilla·2018-03-08·CVSS 6.5
CVE-2018-5801 [MEDIUM] CVE-2018-5801 LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp
CVE-2018-5801 LibRaw: NULL pointer dereference in LibRaw::unpack function src/libraw_cxx.cpp
An error within the "LibRaw::unpack()" function (src/libraw_cxx.cpp) can be exploited to trigger a NULL pointer dereference.
External References:
https://packetstormsecurity.com/files/146172/secunia-libraw.txt
Upstream Patch:
https://github.com/LibRaw/LibRaw/commit/8682ad204392b91
Discussion:
Created mingw-LibRaw tracking bugs for this issue:
Affects: fedora-all [bug 1557159]
Created dcraw tracking bugs for this issue:
Affects: fedora-all [bug 1557160]
Created LibRaw tracking bugs for this issue:
Affects: fedora-all [bug 1557157]
Created rawtherapee tracking bugs for this issue:
Affects: fedora-all [bug 1557163]
Created libkdcraw tracking bugs for this issue:
Affects: fedora-all
https://access.redhat.com/errata/RHSA-2018:3065https://github.com/LibRaw/LibRaw/blob/master/Changelog.txthttps://github.com/LibRaw/LibRaw/commit/0df5490b985c419de008d32168650bff17128914https://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/0df5490b985c419de008d32168650bff17128914https://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