Live threats

All CVEs / Libraw

CVE-2018-5804Libraw

Medium 6.5 No auth needed

Priority
54
CVSS 3.0
6.5
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Dec 7, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-369, CWE-704
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libraw.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
librawlibraw< 0.18.8

Official sources

References

Links published by the sources. Open them with care.