CVE-2020-35530

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-35530
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-35530.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-35530
Downstream
Published
2022-09-01T18:15:08Z
Modified
2025-09-16T07:12:09.118263Z
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

Debian:11 / libraw

Package

Name
libraw
Purl
pkg:deb/debian/libraw?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.20.0-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libraw

Package

Name
libraw
Purl
pkg:deb/debian/libraw?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.20.0-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libraw

Package

Name
libraw
Purl
pkg:deb/debian/libraw?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.20.0-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / libraw

Package

Name
libraw
Purl
pkg:deb/debian/libraw?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.20.0-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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