6.5

CVE-2018-5804: libraw Divide By Zero

CVSS: 6.5v3.0MediumModified
AliasesUBUNTU-CVE-2018-5804DEBIAN-CVE-2018-5804
Published 07-12-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-5804 is a medium (CVSS 6.5) Divide By Zero vulnerability in libraw. EPSS estimates a 1.68% chance of exploitation in the next 30 days, higher than 76.6% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.0 (NVD)
EPSS score
1.68%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 2

Timeline

  1. 07-12-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.68%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

0.00 pp

From 1.68% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.68%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu7 products
  • darktableAll versions (No fix recorded)
  • dcrawAll versions (No fix recorded)
  • exactimageAll versions (No fix recorded)
  • kodiAll versions (No fix recorded)
  • libraw< 0.17.1-1ubuntu0.1
Debian1 product
  • libraw< 0.18.8-1
Libraw1 product

3 vendors · 9 products

References

8 links