CVE-2020-35530

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-35530
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35530.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-35530
Downstream
Published
2022-09-01T18:15:08Z
Modified
2025-10-21T05:53:35.761913Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/libraw/libraw

Affected ranges

Type
GIT
Repo
https://github.com/libraw/libraw
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

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

vanir_signatures

[
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "110940814424988467796211595504022819868",
                "124532924088919425912531695857334131374",
                "111053890744362030910891882372209123656",
                "286017284761026535156219776666450748709"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "internal/x3f_tools.h"
        },
        "source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb",
        "signature_type": "Line",
        "id": "CVE-2020-35530-07f3d929"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "function_hash": "253375961575119854857424408833983041451",
            "length": 239.0
        },
        "target": {
            "function": "new_node",
            "file": "src/x3f/x3f_utils_patched.cpp"
        },
        "source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb",
        "signature_type": "Function",
        "id": "CVE-2020-35530-369c9b65"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "function_hash": "20355649694615793696602765423262700299",
            "length": 197.0
        },
        "target": {
            "function": "new_huffman_tree",
            "file": "src/x3f/x3f_utils_patched.cpp"
        },
        "source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb",
        "signature_type": "Function",
        "id": "CVE-2020-35530-705f8670"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "306714943968164737680010062432328437921",
                "183106503694189393827028606815695434634",
                "41263326308633970007546507841750265834",
                "140575195405994990592700025732319877694",
                "152620312394144938416937221208263239958",
                "175356667446562185814633474139602074878",
                "189574093187873240260224530497407937121",
                "272587774567933112153921514246624052609"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/x3f/x3f_utils_patched.cpp"
        },
        "source": "https://github.com/libraw/libraw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb",
        "signature_type": "Line",
        "id": "CVE-2020-35530-969fecc7"
    }
]