CVE-2020-35532

Source
https://cve.org/CVERecord?id=CVE-2020-35532
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35532.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-35532
Downstream
Published
2022-09-01T18:15:08Z
Modified
2026-07-08T20:42:38Z
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, an out-of-bounds read vulnerability exists within the "simple_decode_row()" function (libraw\src\x3f\x3f_utils_patched.cpp) which can be triggered via an image with a large row_stride field.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "10.0"
                },
                {
                    "last_affected":  "10.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:a:libraw:libraw:0.20.0:rc2:*:*:*:*:*:*",
                "cpe:2.3:a:libraw:libraw:0.21.0:beta1:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "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",
            "vendor_product":  "libraw:libraw"
        }
    ]
}
References

Affected packages

Git / github.com/libraw/libraw

Affected ranges

Type
GIT
Repo
https://github.com/libraw/libraw
Events
Database specific
Show details
{
    "cpe":  [
        "cpe:2.3:a:libraw:libraw:0.20.0:-:*:*:*:*:*:*",
        "cpe:2.3:a:libraw:libraw:0.20.1:*:*:*:*:*:*:*",
        "cpe:2.3:a:libraw:libraw:0.20.2:*:*:*:*:*:*:*"
    ],
    "extracted_events":  [
        {
            "introduced":  "0.20.0-NA"
        },
        {
            "last_affected":  "0.20.0-NA"
        },
        {
            "introduced":  "0.20.1"
        },
        {
            "last_affected":  "0.20.1"
        },
        {
            "introduced":  "0.20.2"
        },
        {
            "last_affected":  "0.20.2"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.20.0
0.20.0-NA
0.20.1
0.20.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35532.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "213568343310910898600674811266997841845",
            "length":  1264
        },
        "id":  "CVE-2020-35532-05a6540b",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libraw/libraw/commit/5ab45b085898e379fedc6b113e2e82a890602b1e",
        "target":  {
            "file":  "src/x3f/x3f_utils_patched.cpp",
            "function":  "simple_decode_row"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "328840561769977566781867518991491042441",
                "310875237608132038042484182185969086601",
                "261945196420340983425097196176001449722"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2020-35532-4486dc52",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libraw/libraw/commit/5ab45b085898e379fedc6b113e2e82a890602b1e",
        "target":  {
            "file":  "src/x3f/x3f_utils_patched.cpp"
        }
    }
]
vanir_signatures_modified
"2026-07-08T20:42:38Z"