CVE Catalog

CVE-2026-88387

Unknown
Published: Updated: Translated: NVD NIST

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 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.

Risk Assessment

An attacker can remotely crash an image-processing application, causing denial of service. This may disrupt systems that process graphic files.

Recommendation

Upgrade LibRaw to a version newer than 0.22.0 that includes the range validation fix. Until then, avoid processing untrusted RAW, TIFF, and DNG files.

Other vulnerabilities in LibRaw

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS