Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/LibRaw/LibRaw/commit/b41cbbd61951783e0440590dae55411a16185bdf
- https://github.com/LibRaw/LibRaw/issues/844
- https://github.com/LibRaw/LibRaw/pull/853
- https://github.com/LibRaw/LibRaw/issues/844
FAQ
What is CVE-2026-88387?
CVE-2026-88387 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2026-88387?
CVE-2026-88387 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-88387?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.