{"id":"CVE-2020-35531","details":"In LibRaw, an out-of-bounds read vulnerability exists within the get_huffman_diff() function (libraw\\src\\x3f\\x3f_utils_patched.cpp) when reading data from an image file.","modified":"2026-03-14T10:25:59.021999Z","published":"2022-09-01T18:15:08.820Z","references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00024.html"},{"type":"FIX","url":"https://github.com/LibRaw/LibRaw/commit/d75af00681a74dcc8b929207eb895611a6eceb68"},{"type":"FIX","url":"https://github.com/LibRaw/LibRaw/issues/270"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libraw/libraw","events":[{"introduced":"0"},{"last_affected":"2aee1220d5ecdcb8887b11c3d505a900570852c6"},{"introduced":"0"},{"last_affected":"95d5f1616d7df552fba853ea91ff1d6fc00feb6c"},{"introduced":"0"},{"last_affected":"0209b6a2caec189e6d1a9b21c10e9e49f46e5a92"},{"fixed":"d75af00681a74dcc8b929207eb895611a6eceb68"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.20.0-NA"},{"introduced":"0"},{"last_affected":"0.20.1"},{"introduced":"0"},{"last_affected":"0.20.2"}]}}],"versions":["0.11.0-Release","0.11.1","0.11.2","0.12.0","0.12.1","0.13.0","0.13.1","0.13.2","0.13.3","0.13.4","0.13.5","0.13.6","0.13.7","0.13.8","0.14.0","0.14.1","0.14.2","0.14.3","0.14.4","0.14.5","0.14.6","0.15.0","0.16.0","0.17.0","0.18.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35531.json","vanir_signatures":[{"digest":{"threshold":0.9,"line_hashes":["269332160796483417546911602276352633158","78164506390049076242059571772957966124","28630916908384331462296952752420795653"]},"id":"CVE-2020-35531-7bddd3b9","source":"https://github.com/libraw/libraw/commit/d75af00681a74dcc8b929207eb895611a6eceb68","signature_type":"Line","deprecated":false,"target":{"file":"src/x3f/x3f_utils_patched.cpp"},"signature_version":"v1"},{"digest":{"length":1077,"function_hash":"263511210699484963887705548530792927049"},"id":"CVE-2020-35531-aecde9ab","source":"https://github.com/libraw/libraw/commit/d75af00681a74dcc8b929207eb895611a6eceb68","signature_type":"Function","deprecated":false,"target":{"file":"src/x3f/x3f_utils_patched.cpp","function":"huffman_decode_row"},"signature_version":"v1"}],"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"0.20.0-rc2"}]},{"events":[{"introduced":"0"},{"last_affected":"0.21.0-beta1"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}