Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2018-5804

LibRaw: type confusion error in identify() function in internal/dcraw_common.cpp

Overview

Published
7 Dec 2018
Modified
17 Jun 2026
Medium CVE
0 Registry packages
2 OS packages
3 Linux distributions
Yes Fix available

Description

A type confusion error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to trigger a division by zero.

Source: OX vulnerability database

Severity

6.5 · MEDIUM

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness: CWE-369, CWE-704

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 7 fixes

debian 5 releases · 1 package

fixed 5
libraw
debian fixes for CVE-2018-5804
ReleasePackageFixed in
11 libraw 0.18.8-1
12 libraw 0.18.8-1
13 libraw 0.18.8-1
14 libraw 0.18.8-1
9 libraw 0.17.2-6+deb9u2

echo 1 release · 1 package

fixed 1
libraw
echo fixes for CVE-2018-5804
ReleasePackageFixed in
libraw 0.18.8-1

root.io debian 1 release · 1 package

fixed 1
rootio-libraw
root.io debian fixes for CVE-2018-5804
ReleasePackageFixed in
13 rootio-libraw 0.18.8-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.