In LibRaw, there is an out-of-bounds write vulnerability within the "newnode()" function (libraw\src\x3f\x3futils_patched.cpp) that can be triggered via a crafted X3F file.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "0.20.0-NA"
},
{
"introduced": "0"
},
{
"last_affected": "0.20.1"
},
{
"introduced": "0"
},
{
"last_affected": "0.20.2"
}
]
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"110940814424988467796211595504022819868",
"124532924088919425912531695857334131374",
"111053890744362030910891882372209123656",
"286017284761026535156219776666450748709"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2020-35530-07f3d929",
"target": {
"file": "internal/x3f_tools.h"
},
"source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb"
},
{
"digest": {
"length": 239.0,
"function_hash": "253375961575119854857424408833983041451"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2020-35530-369c9b65",
"target": {
"function": "new_node",
"file": "src/x3f/x3f_utils_patched.cpp"
},
"source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb"
},
{
"digest": {
"length": 197.0,
"function_hash": "20355649694615793696602765423262700299"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2020-35530-705f8670",
"target": {
"function": "new_huffman_tree",
"file": "src/x3f/x3f_utils_patched.cpp"
},
"source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"306714943968164737680010062432328437921",
"183106503694189393827028606815695434634",
"41263326308633970007546507841750265834",
"140575195405994990592700025732319877694",
"152620312394144938416937221208263239958",
"175356667446562185814633474139602074878",
"189574093187873240260224530497407937121",
"272587774567933112153921514246624052609"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2020-35530-969fecc7",
"target": {
"file": "src/x3f/x3f_utils_patched.cpp"
},
"source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb"
}
]
[
{
"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"
}
]
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35530.json"