Read the docs
TI-2018-04209 Aliases CVE-2018-5809GHSA-rcfr-q8x3-q62p

Out-of-bounds write in LibRaw

Priority MEDIUM 43CWE-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
Fixed

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

Summary

An error within the "LibRaw::parse_exif()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.

Why it matters now

EPSS 0.02786 86th percentileScored 2026-11-07
Fix Fixed LibRaw: 0.18.9

SSVC decision points

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

Affected products

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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*before 0.18.9VulnerableLibRaw
  • cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:* Versions before 0.18.9 Vulnerable ·LibRaw

Remediation

  • Fix · CNA LibRaw Fixed in 0.18.9

Vendor assessments

Red Hat

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

Not affected: 2 products
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-5809
  2. 2026-10-03 Alias added: GHSA-rcfr-q8x3-q62p

References

  • TI-2026-04674 LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds CVSS 4.0MEDIUM 6.9
  • TI-2020-14361 Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp. CVSS 3.1MEDIUM 6.5
  • TI-2026-04650 LibRaw JPEG DHT losslessjpeg.cpp initval out-of-bounds write CVSS 4.0MEDIUM 5.3
  • TI-2015-06888 The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory… CVSS 3.1CRITICAL 9.8
  • TI-2026-16934 A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality… CVSS 3.1CRITICAL 9.8
  • TI-2026-16915 Integer overflow in LibRaw CVSS 3.1CRITICAL 9.8
See all 62 →

Sources