{"id":"CVE-2018-5804","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-5804","generatedAt":"2026-10-28T21:57:49.859Z","title":"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.","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.","published":"2018-12-07T22:29:01.000Z","lastModified":"2026-06-17T02:00:49.000Z","status":"Modified","sourceIdentifier":"PSIRT-CNA@flexerasoftware.com","cvss":{"version":"3.0","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},"cwe":["CWE-369","CWE-704"],"affected":["libraw/libraw"],"epss":{"score":0.01682,"percentile":0.76845,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (1.68%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt","tags":["Release Notes"],"source":"PSIRT-CNA@flexerasoftware.com"},{"url":"https://github.com/LibRaw/LibRaw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff","tags":["Patch"],"source":"PSIRT-CNA@flexerasoftware.com"},{"url":"https://secuniaresearch.flexerasoftware.com/advisories/81000/","tags":["Third Party Advisory"],"source":"PSIRT-CNA@flexerasoftware.com"},{"url":"https://secuniaresearch.flexerasoftware.com/secunia_research/2018-3/","tags":["Third Party Advisory"],"source":"PSIRT-CNA@flexerasoftware.com"},{"url":"https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/LibRaw/LibRaw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://secuniaresearch.flexerasoftware.com/advisories/81000/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://secuniaresearch.flexerasoftware.com/secunia_research/2018-3/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-5804","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}