SecurityContext

CVE-2026-120208: libheif - Buffer Overflow

  • Cve: CVE-2026-120208
  • Name: libheif - Buffer Overflow
  • Description: libheif 1.18.0 before 1.23.3 contains a heap-based buffer overflow vulnerability in unc_decoder_mixed_interleave::processTile() that allows attackers to write out of bounds by supplying chroma components with unequal bit depths. Attackers can craft a HEIF file declaring, for example, 16-bit Cb and 8-bit Cr to trigger file-controlled heap writes past the Cr plane, potentially achieving code execution in image-processing pipelines.
  • Impact: Attackers can execute arbitrary code via crafted HEIF files, potentially compromising image-processing systems.
  • Remediation: Update to version 1.23.3 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00365
  • Epss percentile: 0.30951
  • Assignee: [email protected]
  • Published at: 2026-10-31T18:17:09Z
  • Age in days: 23
  • Modified at: 2026-11-02T18:18:47Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-120208
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-122Heap-based Buffer Overflow

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/strukturag/libheif/blob/v1.23.2/libheif/codecs/uncompressed/unc_decoder_mixed_interleave.cc#L95
https://github.com/strukturag/libheif/commit/9d3cd91d7b1c8c68deef6d06057ab956bcb0dfb9
https://github.com/strukturag/libheif/releases/tag/v1.23.3
https://github.com/strukturag/libheif/security/advisories/GHSA-x8r2-mggj-j6wr
https://www.vulncheck.com/advisories/libheif-1.18.0-before-1.23.3-heap-buffer-overflow-via-unci-mixed-interleave-decoder

Products

ProductAffectedPlatform boundSourcesUrl
struktur:libheif>= 1.18.0, < 1.23.3nocna_alias/v1/products/struktur/libheif

Projects

RepositoryLink kindsIndexedUrl
strukturag/libheifcommit, fix, releases, security_advisoryyes/v1/repositories/strukturag/libheif

Index

  • Repositories: 1434
  • Repositories high signal: 992
  • Checked, none or zero: packages

Exploitation

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