In LibRaw, an out-of-bounds read vulnerability exists within the gethuffmandiff() function (libraw\src\x3f\x3futilspatched.cpp) when reading data from an image file.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING",
"vendor_product": "debian:debian_linux",
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
]
},
{
"extracted_events": [
{
"introduced": "0.20.0-rc2"
},
{
"last_affected": "0.20.0-rc2"
},
{
"introduced": "0.21.0-beta1"
},
{
"last_affected": "0.21.0-beta1"
}
],
"source": "CPE_STRING",
"vendor_product": "libraw:libraw",
"cpes": [
"cpe:2.3:a:libraw:libraw:0.20.0:rc2:*:*:*:*:*:*",
"cpe:2.3:a:libraw:libraw:0.21.0:beta1:*:*:*:*:*:*"
]
}
]
}{
"extracted_events": [
{
"introduced": "0.20.0-NA"
},
{
"last_affected": "0.20.0-NA"
},
{
"introduced": "0.20.1"
},
{
"last_affected": "0.20.1"
},
{
"introduced": "0.20.2"
},
{
"last_affected": "0.20.2"
}
],
"source": [
"CPE_STRING",
"REFERENCES"
],
"cpe": [
"cpe:2.3:a:libraw:libraw:0.20.0:-:*:*:*:*:*:*",
"cpe:2.3:a:libraw:libraw:0.20.1:*:*:*:*:*:*:*",
"cpe:2.3:a:libraw:libraw:0.20.2:*:*:*:*:*:*:*"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35531.json"
[
{
"target": {
"file": "src/x3f/x3f_utils_patched.cpp"
},
"deprecated": false,
"source": "https://github.com/libraw/libraw/commit/d75af00681a74dcc8b929207eb895611a6eceb68",
"id": "CVE-2020-35531-7bddd3b9",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"269332160796483417546911602276352633158",
"78164506390049076242059571772957966124",
"28630916908384331462296952752420795653"
]
},
"signature_type": "Line"
},
{
"target": {
"function": "huffman_decode_row",
"file": "src/x3f/x3f_utils_patched.cpp"
},
"deprecated": false,
"source": "https://github.com/libraw/libraw/commit/d75af00681a74dcc8b929207eb895611a6eceb68",
"id": "CVE-2020-35531-aecde9ab",
"signature_version": "v1",
"digest": {
"length": 1077.0,
"function_hash": "263511210699484963887705548530792927049"
},
"signature_type": "Function"
}
]
"2026-07-08T20:42:39Z"