Read the docs
TI-2018-04205 Aliases CVE-2018-5805GHSA-vvhq-5m68-7x6h

Out-of-bounds write in LibRaw

Priority MEDIUM 42CWE-787Published · Updated

Key facts

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

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

Summary

A boundary error within the "quicktake_100_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to cause a stack-based buffer overflow and subsequently cause a crash.

Why it matters now

EPSS 0.01984 80th percentileScored 2026-11-07
Fix Partial LibRaw: 0.18.8Red Hat: 1 advisoryRed Hat: 5 fixed, 3 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.80.18.8Patch availableCNA
  • LibRaw Vendor— Affected before 0.18.8 Fixed in 0.18.8 Patch available CNA

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*before 0.18.8VulnerableLibRaw
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:a:libraw:libraw:*:*:*:*:*:*:*:* Versions before 0.18.8 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

Remediation

  • Fix · CNA LibRaw Fixed in 0.18.8

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: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 8AffectedNo 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: 2 products
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-5805
  2. 2026-10-03 Alias added: GHSA-vvhq-5m68-7x6h

References

Sources