CVE-2018-5816
published 2018-12-07CVE-2018-5816: An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a…
PriorityP430medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
2.11%
79.8th percentile
An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804).
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | libraw | < libraw 0.18.13-1 (bookworm) | libraw 0.18.13-1 (bookworm) |
| libraw | libraw | < 0.18.12 | 0.18.12 |
| libraw | libraw | >= 0 < 0.18.13-1 | 0.18.13-1 |
| libraw | libraw | >= 0 < 0.18.13-1 | 0.18.13-1 |
| libraw | libraw | >= 0 < 0.18.13-1 | 0.18.13-1 |
| libraw | libraw | >= 0 < 0.18.13-1 | 0.18.13-1 |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.07.1HIGHAV:N/AC:M/Au:N/C:N/I:N/A:C
osv6.5MEDIUM
vendor_debian6.5LOW
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.
Ubuntu
LibRaw vulnerabilities
vendor_ubuntu·2018-12-06
CVE-2018-5807 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: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service
vendor_redhat·2018-07-22·CVSS 6.5
CVE-2018-5816 [MEDIUM] CWE-190 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service
LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service
An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804).
Statement: This issue did not affect the versions of LibRaw as shipped with Red Hat Enterprise Linux 7.
Package: LibRaw (Red Hat Enterprise Linux 7) - Not affected
Package: LibRaw (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-5816: libraw - An integer overflow error within the "identify()" function (internal/dcraw_commo...
vendor_debian·2018·CVSS 6.5
CVE-2018-5816 [MEDIUM] CVE-2018-5816: libraw - An integer overflow error within the "identify()" function (internal/dcraw_commo...
An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804).
Scope: local
bookworm: resolved (fixed in 0.18.13-1)
bullseye: resolved (fixed in 0.18.13-1)
forky: resolved (fixed in 0.18.13-1)
sid: resolved (fixed in 0.18.13-1)
trixie: resolved (fixed in 0.18.13-1)
GHSA
GHSA-87cq-cch6-5ff8: An integer overflow error within the "identify()" function (internal/dcraw_common
ghsa_unreviewed·2022-05-14·CVSS 6.5
CVE-2018-5816 [MEDIUM] CWE-190 GHSA-87cq-cch6-5ff8: An integer overflow error within the "identify()" function (internal/dcraw_common
An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804).
OSV
CVE-2018-5816: An integer overflow error within the "identify()" function (internal/dcraw_common
osv·2018-12-07·CVSS 6.5
CVE-2018-5816 [MEDIUM] CVE-2018-5816: An integer overflow error within the "identify()" function (internal/dcraw_common
An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804).
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service
bugzilla·2018-07-31·CVSS 6.5
CVE-2018-5816 [MEDIUM] CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service
CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service
LibRaw versions prior to 0.18.12 are vulnerable to an integer overflow in the internal/dcraw_common.cpp:identify() function. An attacker could exploit this to cause an divide-by-zero and resultant denial of service via a specially crafted NOKIARAW file.
This vulnerability was caused by an incomplete fix to CVE-2018-5804.
Reference:
http://seclists.org/bugtraq/2018/Jul/58
Discussion:
Created LibRaw tracking bugs for this issue:
Affects: epel-6 [bug 1610159]
Affects: fedora-all [bug 1610157]
Created mingw-LibRaw tracking bugs for this issue:
Affects: fedora-all [bug 1610158]
---
This looks like the patch:
https://github.com/LibRaw/LibRaw/commit/4a3e68a41cf6d67fd83cffd2651d
Bugzilla
CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [fedora-all]
bugzilla·2018-07-31·CVSS 6.5
CVE-2018-5816 [MEDIUM] CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [fedora-all]
CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [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: thi
Bugzilla
CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [epel-6]
bugzilla·2018-07-31·CVSS 6.5
CVE-2018-5816 [MEDIUM] CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [epel-6]
CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [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
Bugzilla
CVE-2018-5816 mingw-LibRaw: LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [fedora-all]
bugzilla·2018-07-31·CVSS 6.5
CVE-2018-5816 [MEDIUM] CVE-2018-5816 mingw-LibRaw: LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [fedora-all]
CVE-2018-5816 mingw-LibRaw: LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [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 messa
https://github.com/LibRaw/LibRaw/blob/master/Changelog.txthttps://github.com/LibRaw/LibRaw/commit/1d8d1b452e5dc74033ee9f846081a0efb616cc39https://secuniaresearch.flexerasoftware.com/advisories/83507/https://secuniaresearch.flexerasoftware.com/secunia_research/2018-14/https://usn.ubuntu.com/3838-1/https://github.com/LibRaw/LibRaw/blob/master/Changelog.txthttps://github.com/LibRaw/LibRaw/commit/1d8d1b452e5dc74033ee9f846081a0efb616cc39https://secuniaresearch.flexerasoftware.com/advisories/83507/https://secuniaresearch.flexerasoftware.com/secunia_research/2018-14/https://usn.ubuntu.com/3838-1/
2018-12-07
Published