Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-35530
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:37 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-35530
Complete source record
{
"id": "d02d26dfd7eaf1d6f98dcd4868dc6188186814b57e39160a4ea074ce849cb769",
"url": "https://osv.dev/vulnerability/CVE-2020-35530",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-35530",
"summary": "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.",
"evidence": "osv:CVE-2020-35530",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-35530",
"aliases": [
"CVE-2020-35530"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libraw/libraw",
"type": "GIT",
"events": [
{
"introduced": "2aee1220d5ecdcb8887b11c3d505a900570852c6"
},
{
"last_affected": "0209b6a2caec189e6d1a9b21c10e9e49f46e5a92"
},
{
"fixed": "11c4db253ef2c9bb44247b578f5caa57c66a1eeb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libraw:libraw:0.20.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "0.20.0-NA"
},
{
"last_affected": "0.20.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:libraw:libraw:0.20.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.20.1"
},
{
"last_affected": "0.20.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:libraw:libraw:0.20.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.20.2"
},
{
"last_affected": "0.20.2"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "11c4db253ef2c9bb44247b578f5caa57c66a1eeb"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.20.0-NA",
"0.20.1",
"0.20.2",
"0.20.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35530.json",
"vanir_signatures": [
{
"id": "CVE-2020-35530-07f3d929",
"digest": {
"threshold": 0.9,
"line_hashes": [
"110940814424988467796211595504022819868",
"124532924088919425912531695857334131374",
"111053890744362030910891882372209123656",
"286017284761026535156219776666450748709"
]
},
"source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb",
"target": {
"file": "internal/x3f_tools.h"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2020-35530-369c9b65",
"digest": {
"length": 239,
"function_hash": "253375961575119854857424408833983041451"
},
"source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb",
"target": {
"file": "src/x3f/x3f_utils_patched.cpp",
"function": "new_node"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2020-35530-705f8670",
"digest": {
"length": 197,
"function_hash": "20355649694615793696602765423262700299"
},
"source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb",
"target": {
"file": "src/x3f/x3f_utils_patched.cpp",
"function": "new_huffman_tree"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2020-35530-969fecc7",
"digest": {
"threshold": 0.9,
"line_hashes": [
"306714943968164737680010062432328437921",
"183106503694189393827028606815695434634",
"41263326308633970007546507841750265834",
"140575195405994990592700025732319877694",
"152620312394144938416937221208263239958",
"175356667446562185814633474139602074878",
"189574093187873240260224530497407937121",
"272587774567933112153921514246624052609"
]
},
"source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb",
"target": {
"file": "src/x3f/x3f_utils_patched.cpp"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:00:22Z"
}
}
],
"modified": "2026-10-20T14:00:22.749604679Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2022/09/msg00024.html",
"https://github.com/LibRaw/LibRaw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb",
"https://github.com/LibRaw/LibRaw/issues/272"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:libraw:libraw:0.20.0:rc2:*:*:*:*:*:*",
"cpe:2.3:a:libraw:libraw:0.21.0:beta1:*:*:*:*:*:*"
],
"vendor_product": "libraw:libraw",
"extracted_events": [
{
"range": [
{
"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"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-35530",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388507,
"published_at": "2022-09-01T18:15:08.77+00:00"
}