CVE-2020-35524

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-35524
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35524.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-35524
Downstream
Related
Published
2021-03-09T20:15:13Z
Modified
2025-10-14T17:55:12.232977Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A heap-based buffer overflow flaw was found in libtiff in the handling of TIFF images in libtiff's TIFF2PDF tool. A specially crafted TIFF file can lead to arbitrary code execution. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

References

Affected packages

Git / gitlab.com/libtiff/libtiff

Affected ranges

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

Affected versions

Other

Pre360
Release-
Release-3-7-0
Release-v3-5-
Release-v3-5-4
Release-v3-5-5
Release-v3-5-7
Release-v3-6-0
Release-v3-6-0beta2
Release-v3-6-1
Release-v3-7-0-alpha
Release-v3-7-0beta
Release-v3-7-0beta2
Release-v3-7-1
Release-v3-7-2
Release-v3-7-3
Release-v3-7-4
Release-v3-8-0
Release-v3-8-1
Release-v3-8-2
Release-v4-0-0
Release-v4-0-0alpha
Release-v4-0-0alpha4
Release-v4-0-0alpha5
Release-v4-0-0alpha6
Release-v4-0-0beta7
Release-v4-0-1
Release-v4-0-2
Release-v4-0-3
Release-v4-0-4
Release-v4-0-4beta
Release-v4-0-5
Release-v4-0-6
Release-v4-0-7
Release-v4-0-8
Release-v4-0-9

v3.*

v3.5.3
v3.5.4
v3.5.5
v3.5.7
v3.6.0
v3.6.0beta2
v3.6.1
v3.7.0
v3.7.0alpha
v3.7.0beta
v3.7.0beta2
v3.7.1
v3.7.2
v3.7.3
v3.7.4
v3.8.0
v3.8.1
v3.8.2

v4.*

v4.0.0
v4.0.0alpha
v4.0.0alpha4
v4.0.0alpha5
v4.0.0alpha6
v4.0.0beta7
v4.0.1
v4.0.10
v4.0.2
v4.0.3
v4.0.4
v4.0.4beta
v4.0.5
v4.0.6
v4.0.7
v4.0.8
v4.0.9
v4.1.0

Database specific

{
    "vanir_signatures": [
        {
            "id": "CVE-2020-35524-4f566ef4",
            "signature_type": "Function",
            "target": {
                "file": "tools/tiff2pdf.c",
                "function": "t2p_read_tiff_size"
            },
            "deprecated": false,
            "digest": {
                "length": 3961.0,
                "function_hash": "162918101681779814229328512498276279333"
            },
            "signature_version": "v1",
            "source": "https://gitlab.com/rzkn/libtiff@7be2e452ddcf6d7abca88f41d3761e6edab72b22"
        },
        {
            "id": "CVE-2020-35524-784ef608",
            "signature_type": "Line",
            "target": {
                "file": "tools/tiff2pdf.c"
            },
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "63000372611281549800537825189411368918",
                    "169840123599508707064489978991016675369",
                    "207475852092280604137846944425818913699",
                    "23804163367835457466111112595890857262",
                    "74312963337095397387789349994033477595",
                    "181327529202719562561631839071146868230"
                ],
                "threshold": 0.9
            },
            "signature_version": "v1",
            "source": "https://gitlab.com/rzkn/libtiff@7be2e452ddcf6d7abca88f41d3761e6edab72b22"
        }
    ]
}