CVE-2026-88387

LibRaw: LibRaw: Denial of Service via improper numeric conversion

Published Sep 24, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

LibRaw 0.22.0 contains an improper numeric conversion in the parse_tiff_ifd function that processes the TIFF tag NewSubfileType; an attacker‑controlled value that exceeds the signed integer range is blindly converted, producing undefined behaviour that causes the parser to terminate the process, thereby denying service.

Affected Systems

Any software that links to LibRaw 0.22.0 and processes RAW, TIFF, or DNG files is affected, as the vulnerability is triggered when these file types are parsed.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate risk, and the EPSS score of < 1% reflects a very low likelihood of exploitation; the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack vector is file‑based, with a malicious file containing an out‑of‑range NewSubfileType field triggering the flaw, potentially allowing any user or remote party that can supply such a file to cause a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibRaw to the latest release that includes the fixed conversion logic, or apply the upstream commit documented in the CVE references which resolves the numeric conversion issue.
  • If an upgrade cannot be performed immediately, isolate the vulnerable library or run the image‑parsing routine in a sandboxed environment to prevent untrusted RAW/TIFF/DNG files from terminating the application.
  • Introduce input validation so that NewSubfileType values outside the signed integer range are rejected or appropriately constrained before passing them to parse_tiff_ifd, thereby mitigating the improper numeric conversion flaw.

Generated by OpenCVE AI on September 26, 2026 at 05:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title LibRaw: LibRaw: Denial of Service via improper numeric conversion
Weaknesses CWE-681
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Libraw
Libraw libraw
Vendors & Products Libraw
Libraw libraw
Type Values Removed Values Added
Description 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.
References
Weaknesses
  • CWE-681

    Incorrect Conversion between Numeric Types

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 29, 2026, 2:39 AM
Reserved
Sep 10, 2026, 12:00 AM
Status
Deferred
Published
Sep 24, 2026, 9:18 PM
Modified
Sep 29, 2026, 3:17 AM
Severity
Moderate
Public date
Sep 24, 2026, 12:00 AM