CVE-2020-35531

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-35531
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-35531.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-35531
Downstream
Published
2022-09-01T18:15:08Z
Modified
2025-09-16T07:12:09.635851Z
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 gethuffmandiff() function (libraw\src\x3f\x3futilspatched.cpp) when reading data from an image 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": "src/x3f/x3f_utils_patched.cpp"
            },
            "digest": {
                "line_hashes": [
                    "269332160796483417546911602276352633158",
                    "78164506390049076242059571772957966124",
                    "28630916908384331462296952752420795653"
                ],
                "threshold": 0.9
            },
            "signature_version": "v1",
            "source": "https://github.com/libraw/libraw/commit/d75af00681a74dcc8b929207eb895611a6eceb68",
            "id": "CVE-2020-35531-7bddd3b9",
            "signature_type": "Line",
            "deprecated": false
        },
        {
            "target": {
                "function": "huffman_decode_row",
                "file": "src/x3f/x3f_utils_patched.cpp"
            },
            "digest": {
                "length": 1077.0,
                "function_hash": "263511210699484963887705548530792927049"
            },
            "signature_version": "v1",
            "source": "https://github.com/libraw/libraw/commit/d75af00681a74dcc8b929207eb895611a6eceb68",
            "id": "CVE-2020-35531-aecde9ab",
            "signature_type": "Function",
            "deprecated": false
        }
    ]
}