CVE-2018-5360

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-5360
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5360.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-5360
Downstream
Published
2018-01-14T02:29:04Z
Modified
2025-11-01T17:36:40.223991Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

LibTIFF before 4.0.6 mishandles the reading of TIFF files, as demonstrated by a heap-based buffer over-read in the ReadTIFFImage function in coders/tiff.c in GraphicsMagick 1.3.27.

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

Affected versions

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.2
v4.0.3
v4.0.4
v4.0.4beta
v4.0.5
v4.0.6

Database specific

vanir_signatures

[
    {
        "source": "https://gitlab.com/libtiff/libtiff@739dcd28a061738b317c1e9f91029d9cbc157159",
        "id": "CVE-2018-5360-080eea7d",
        "deprecated": false,
        "target": {
            "file": "libtiff/tif_dirwrite.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "61569868602208278142543250356083065835",
                "171923524337809754821741671617932284290",
                "81378857631154961215226172926732042937",
                "287415081405752620846504667074555205995",
                "110188842041252082907289411813138340834",
                "215857215053830936438829670178056166041"
            ]
        }
    },
    {
        "source": "https://gitlab.com/libtiff/libtiff@739dcd28a061738b317c1e9f91029d9cbc157159",
        "id": "CVE-2018-5360-274d283f",
        "deprecated": false,
        "target": {
            "file": "libtiff/tif_dir.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "163556274338990316519011545089318416687",
                "238038622444975051665130753080447867337",
                "61873261279205231678512461018889780688",
                "294275126327564873015573283823558383173",
                "13668015845256240478618664371273870394"
            ]
        }
    },
    {
        "source": "https://gitlab.com/libtiff/libtiff@739dcd28a061738b317c1e9f91029d9cbc157159",
        "id": "CVE-2018-5360-af078396",
        "deprecated": false,
        "target": {
            "function": "_TIFFVSetField",
            "file": "libtiff/tif_dir.c"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 14427.0,
            "function_hash": "259479423939519279177470380675914412870"
        }
    },
    {
        "source": "https://gitlab.com/libtiff/libtiff@739dcd28a061738b317c1e9f91029d9cbc157159",
        "id": "CVE-2018-5360-e5d9e567",
        "deprecated": false,
        "target": {
            "function": "TIFFWriteDirectorySec",
            "file": "libtiff/tif_dirwrite.c"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 15859.0,
            "function_hash": "175712132688296538464731449866632895834"
        }
    }
]

Git / github.com/vadz/libtiff

Affected ranges

Type
GIT
Repo
https://github.com/vadz/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