CVE-2018-25017

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-25017
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-25017.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-25017
Downstream
Published
2021-07-01T03:15:07Z
Modified
2025-10-21T04:34:21.166513Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

RawSpeed (aka librawspeed) 3.1 has a heap-based buffer overflow in TableLookUp::setTable.

References

Affected packages

Git / github.com/darktable-org/rawspeed

Affected ranges

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

Affected versions

v1.*

v1.0

v3.*

v3.0
v3.1

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/darktable-org/rawspeed/commit/dbe7591e54bad5e6430d38be6bed051582da76b9",
        "id": "CVE-2018-25017-05742477",
        "deprecated": false,
        "target": {
            "file": "src/librawspeed/common/TableLookUp.cpp"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "270971799370473575291749135196874086337",
                "225561087439078754092139683906145410986",
                "104725271343841795700519290889740867650",
                "273426505611582158008056161110160814520"
            ]
        }
    },
    {
        "source": "https://github.com/darktable-org/rawspeed/commit/dbe7591e54bad5e6430d38be6bed051582da76b9",
        "id": "CVE-2018-25017-56d2bdc3",
        "deprecated": false,
        "target": {
            "function": "TableLookUp::setTable",
            "file": "src/librawspeed/common/TableLookUp.cpp"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 909.0,
            "function_hash": "12198607757596020264529136127271702942"
        }
    }
]