{"id":"CVE-2020-35530","details":"In LibRaw, there is an out-of-bounds write vulnerability within the \"new_node()\" function (libraw\\src\\x3f\\x3f_utils_patched.cpp) that can be triggered via a crafted X3F file.","modified":"2026-04-11T16:25:20.909050Z","published":"2022-09-01T18:15:08.770Z","references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00024.html"},{"type":"FIX","url":"https://github.com/LibRaw/LibRaw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb"},{"type":"FIX","url":"https://github.com/LibRaw/LibRaw/issues/272"}],"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":"11c4db253ef2c9bb44247b578f5caa57c66a1eeb"}],"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.12.0","0.13.0","0.13.1","0.13.2","0.13.3","0.13.4","0.13.5","0.13.6","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","0.20-RC2","0.20.0","0.20.1","0.20.2"],"database_specific":{"vanir_signatures_modified":"2026-04-11T16:25:20Z","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"}]}],"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","id":"CVE-2020-35530-07f3d929","target":{"file":"internal/x3f_tools.h"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["110940814424988467796211595504022819868","124532924088919425912531695857334131374","111053890744362030910891882372209123656","286017284761026535156219776666450748709"]},"source":"https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb"},{"signature_type":"Function","signature_version":"v1","id":"CVE-2020-35530-369c9b65","target":{"function":"new_node","file":"src/x3f/x3f_utils_patched.cpp"},"deprecated":false,"digest":{"function_hash":"253375961575119854857424408833983041451","length":239},"source":"https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb"},{"signature_type":"Function","signature_version":"v1","id":"CVE-2020-35530-705f8670","target":{"function":"new_huffman_tree","file":"src/x3f/x3f_utils_patched.cpp"},"deprecated":false,"digest":{"function_hash":"20355649694615793696602765423262700299","length":197},"source":"https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb"},{"signature_type":"Line","signature_version":"v1","id":"CVE-2020-35530-969fecc7","target":{"file":"src/x3f/x3f_utils_patched.cpp"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["306714943968164737680010062432328437921","183106503694189393827028606815695434634","41263326308633970007546507841750265834","140575195405994990592700025732319877694","152620312394144938416937221208263239958","175356667446562185814633474139602074878","189574093187873240260224530497407937121","272587774567933112153921514246624052609"]},"source":"https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35530.json"}}],"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"}]}