CVE-2018-5804: libraw Divide By Zero
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 77.6% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 07-12-2018PublishedVulnerability first disclosed.
- 05-08-2024Last 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- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.68%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 1.68% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
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
- libraw< 0.18.8
3 vendors · 9 products