CVE-2018-5816Integer Overflow or Wraparound in Libraw

Severity
6.5MEDIUMNVD
EPSS
0.6%
top 29.86%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 7
Latest updateMay 14

Description

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).

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages3 packages

NVDlibraw/libraw< 0.18.12
debiandebian/libraw< libraw 0.18.13-1 (bookworm)
Debianlibraw/libraw< 0.18.13-1+3

Also affects: Ubuntu Linux 14.04, 16.04, 18.04

Patches

🔴Vulnerability Details

2
GHSA
GHSA-87cq-cch6-5ff8: An integer overflow error within the "identify()" function (internal/dcraw_common2022-05-14
OSV
CVE-2018-5816: An integer overflow error within the "identify()" function (internal/dcraw_common2018-12-07

📋Vendor Advisories

3
Ubuntu
LibRaw vulnerabilities2018-12-06
Red Hat
LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service2018-07-22
Debian
CVE-2018-5816: libraw - An integer overflow error within the "identify()" function (internal/dcraw_commo...2018

💬Community

4
Bugzilla
CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service2018-07-31
Bugzilla
CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [fedora-all]2018-07-31
Bugzilla
CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [epel-6]2018-07-31
Bugzilla
CVE-2018-5816 mingw-LibRaw: LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service [fedora-all]2018-07-31