Read the docs
TI-2018-04200 Aliases CVE-2018-5800GHSA-5qjx-g7m8-vp5f

Out-of-bounds write in LibRaw

Priority LOW 34CWE-193Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 5 fixed, 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-193 and the CVSS impact.

Summary

An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.7 can be exploited to cause a heap-based buffer overflow and subsequently cause a crash.

Why it matters now

EPSS 0.02548 85th percentileScored 2026-11-07
Fix Partial LibRaw: 0.18.7Red Hat: 1 advisoryRed Hat: 5 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—LibRawbefore 0.18.70.18.7Patch availableCNA
  • LibRaw Vendor— Affected before 0.18.7 Fixed in 0.18.7 Patch available CNA

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*before 0.18.7VulnerableLibRaw
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*14.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*16.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*17.10VulnerableCanonical
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
  • cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:* Versions before 0.18.7 Vulnerable ·LibRaw
  • cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* Versions 17.10 Vulnerable ·Canonical
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian

Remediation

  • Fix · CNA LibRaw Fixed in 0.18.7

Red Hat 1 advisory

  • RHSA-2018:3065 Released 2018-10-30 · Red Hat rating Moderate
    libkdcraw security update
    • 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
    • Red Hat Enterprise Linux Server (v. 7) libkdcraw-4.10.5-5.el7, libkdcraw-devel-4.10.5-5.el7
    • Red Hat Enterprise Linux Workstation (v. 7) libkdcraw-4.10.5-5.el7, libkdcraw-devel-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, libkdcraw-devel-4.10.5-5.el7

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2018:3065
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2018:3065
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2018:3065
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2018:3065
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)Fixed RHSA-2018:3065
Not affected: 4 products
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-5800
  2. 2026-10-03 Alias added: GHSA-5qjx-g7m8-vp5f

References

Sources