Skip to content
Fencer Vulns
high 7.5

CVE-2018-5817 json

A type confusion error within the "unpacked_load_raw()" function within LibRaw versions prior to 0.19.1 (internal/dcraw_common.cpp) can be…

published 2019-02-20 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17584

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.5%
EPSS 2.5% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

A type confusion error within the "unpacked_load_raw()" function within LibRaw versions prior to 0.19.1 (internal/dcraw_common.cpp) can be exploited to trigger an infinite loop.

Patch / fix

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

debian advisories DEBIAN-CVE-2018-5817

  • libraw Ubuntu 16.04 LTS 0.17.1-1ubuntu0.5
  • libraw Ubuntu 18.04 LTS 0.18.8-1ubuntu0.3

ubuntu advisories UBUNTU-CVE-2018-5817

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

  • libraw SLE Workstation Extension 15 0.18.9-3.8.1
  • libraw SLED 12 SP4, SLED 12 SP3, SLE Workstation Extension 12 SP4 +3 more 0.15.4-30.1

suse advisories SUSE-SU-2019:0133-1SUSE-SU-2019:0127-1

  • libraw openSUSE Leap 15.0 0.18.9-lp150.2.6.1

opensuse advisories openSUSE-SU-2019:0094-1

  • libraw Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 0.19.2-r0

alpine advisories ALPINE-CVE-2018-5817

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

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-5817 updated cvss 3.3

LibRaw: DoS in unpacked_load_raw function in internal/dcraw_common.cpp

  • Red Hat Enterprise Linux 7 LibRaw Red Hat Enterprise Linux 8 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

2.50% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected products

  • Flexera Software LLC LibRaw

Classification

Weakness
  • CWE-704 Incorrect Type Conversion or Cast

References

Sources

Fencer Vulns 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.