SecurityContext

CVE-2026-135176: LibRaw - Heap Out-of-Bounds Write

  • Cve: CVE-2026-135176
  • Name: LibRaw - Heap Out-of-Bounds Write
  • Description: LibRaw 0.22.3 contains a heap out-of-bounds write vulnerability in LibRaw::xtrans_interpolate() that allows attackers to corrupt heap memory via crafted X-Trans raw files. When wavelet denoising threshold or chromatic aberration correction is enabled, the destimage buffer is sized from halved iwidth/iheight but indexed at full width, causing writes of file-derived pixel values beyond the allocation and crashes.
  • Impact: Attackers can corrupt heap memory, potentially leading to crashes or arbitrary code execution.
  • Remediation: Update to the latest version of LibRaw.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: data_tampering, denial_of_service
  • Requirements: Wavelet denoising threshold or chromatic aberration correction must be enabled
  • Labels source: securitycontext
  • Severity: medium
  • Cvss score: 6.3
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
  • Epss score: 0.00159
  • Epss percentile: 0.04999
  • Assignee: [email protected]
  • Published at: 2026-11-23T15:17:47Z
  • Age in days: 1
  • Modified at: 2026-11-23T16:17:37Z
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-135176
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/LibRaw/LibRaw/blob/0.22.3/src/demosaic/xtrans_demosaic.cpp#L176-L179
https://github.com/LibRaw/LibRaw/issues/894
https://www.vulncheck.com/advisories/libraw-0.22.3-heap-out-of-bounds-write-via-xtrans-interpolate

Products

ProductAffectedPlatform boundSourcesUrl
libraw:libraw>= 0.22.3, <= 0.22.3nocna/v1/products/libraw/libraw

Projects

RepositoryLink kindsIndexedUrl
libraw/librawissuesyes/v1/repositories/libraw/libraw

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts