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.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88387.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-88387.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "337752385910102631819381698114615574847",
"length": 45205
},
"id": "CVE-2026-88387-256cdd68",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/libraw/libraw/commit/b41cbbd61951783e0440590dae55411a16185bdf",
"target": {
"file": "src/metadata/tiff.cpp",
"function": "LibRaw::parse_tiff_ifd"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"12850586628985013244243968180152103302",
"255198855738586462950454382922357020704",
"184935694068620877495365105723337493893",
"300441226201711283685360790119275464643"
],
"threshold": 0.9
},
"id": "CVE-2026-88387-402f22e9",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/libraw/libraw/commit/b41cbbd61951783e0440590dae55411a16185bdf",
"target": {
"file": "src/metadata/tiff.cpp"
}
}
]
"2026-09-26T08:04:16Z"