---
id: CVE-2026-88387
title: >-
  LibRaw 0.22.0 contains an incorrect numeric conversion vulnerability in
  LibRaw::parse_tiff_ifd() when processing TIFF tag 0x00fe (NewSubfileType)
summary: >-
  LibRaw 0.22.0 contains an incorrect numeric conversion vulnerability in
  LibRaw::parse_tiff_ifd() when processing TIFF tag 0x00fe (NewSubfileType). A
  specially crafted RAW, TIFF, or DNG file can supply an attacker-controlled
  NewSubfileTyp…
severity: medium
published: '2026-09-24'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:25:27.050'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88387'
references:
  - url: >-
      https://github.com/LibRaw/LibRaw/commit/b41cbbd61951783e0440590dae55411a16185bdf
    label: cve@mitre.org
  - url: 'https://github.com/LibRaw/LibRaw/issues/844'
    label: cve@mitre.org
  - url: 'https://github.com/LibRaw/LibRaw/pull/853'
    label: cve@mitre.org
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-88387.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-88387'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2540837'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-88387'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88387'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-09-24T20:51:40.275Z'
vendor: Red Hat
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-681
epss: 0.00155
epssPercentile: 0.03875
---

## Overview

LibRaw 0.22.0 contains an incorrect numeric conversion vulnerability in LibRaw::parse_tiff_ifd() when processing TIFF tag 0x00fe (NewSubfileType). A specially crafted RAW, TIFF, or DNG file can supply an attacker-controlled NewSubfileType value outside the range of a signed int. The parser converts this value and narrows it to int without performing range validation. This out-of-range conversion triggers undefined behavior, resulting in process termination and denial of service.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-09-25 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-88387.json)
