Skip to content
Fencer Intel
high 8.8

CVE-2018-5802 json

An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to…

published 2018-12-07 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17569

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.

Patch / fix

  • libraw libraw 0.18.7
  • libraw Debian 14, Debian 13, Debian 12 0.18.7-1

debian advisories DEBIAN-CVE-2018-5802

  • libraw Ubuntu 14.04 LTS 0.15.4-1ubuntu0.2
  • libraw Ubuntu 16.04 LTS 0.17.1-1ubuntu0.2

ubuntu advisories UBUNTU-CVE-2018-5802

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libkdcraw RHEL 7 4.10.5-5.el7

red hat advisories RHSA-2018:3065

  • libraw SLED 12 SP3, SLE Workstation Extension 12 SP3, SLE Software Development Kit 12 SP3 0.15.4-21.1

suse advisories SUSE-SU-2018:3343-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-5802 updated cvss 3.3

LibRaw: Out-of-bounds read in kodak_radc_load_raw function internal/dcraw_common.cpp

  • Red Hat Enterprise Linux 5 dcraw
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 6 dcraw
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux 7 LibRaw
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) libkdcraw 4.10.5-5.el7 Red Hat Enterprise Linux Client Optional (v. 7) libkdcraw-devel 4.10.5-5.el7, libkdcraw-debuginfo 4.10.5-5.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) libkdcraw 4.10.5-5.el7 Red Hat Enterprise Linux Server (v. 7) libkdcraw 4.10.5-5.el7 Red Hat Enterprise Linux Workstation (v. 7) libkdcraw 4.10.5-5.el7
    fixed: vendor fix RHSA-2018:3065
  • Red Hat Enterprise Linux 7 dcraw Red Hat Enterprise Linux 8 dcraw, LibRaw
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.97% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

  • n/a LibRaw

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.