CVE-2018-8905

Source
https://cve.org/CVERecord?id=CVE-2018-8905
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-8905.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-8905
Downstream
Related
Published
2018-03-22T04:29:00.483Z
Modified
2026-07-08T20:05:01.768691Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In LibTIFF 4.0.9, a heap-based buffer overflow occurs in the function LZWDecodeCompat in tif_lzw.c via a crafted TIFF file, as demonstrated by tiff2ps.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
                {
                    "introduced": "14.04"
                },
                {
                    "last_affected": "14.04"
                },
                {
                    "introduced": "16.04"
                },
                {
                    "last_affected": "16.04"
                },
                {
                    "introduced": "18.04"
                },
                {
                    "last_affected": "18.04"
                },
                {
                    "introduced": "18.10"
                },
                {
                    "last_affected": "18.10"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                },
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_desktop",
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_server",
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_workstation",
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/vadz/libtiff

Affected ranges

Type
GIT
Repo
https://github.com/vadz/libtiff
Events
Database specific
{
    "cpe": "cpe:2.3:a:libtiff:libtiff:4.0.9:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.0.9"
        },
        {
            "last_affected": "4.0.9"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

4.*
4.0.9
Other
Release-v4-0-9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-8905.json"

Git / gitlab.com/libtiff/libtiff

Affected ranges

Type
GIT
Repo
https://gitlab.com/libtiff/libtiff
Events
Database specific
{
    "cpe": "cpe:2.3:a:libtiff:libtiff:4.0.9:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.0.9"
        },
        {
            "last_affected": "4.0.9"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

4.*
4.0.9
v4.*
v4.0.9

Database specific

vanir_signatures
[
    {
        "digest": {
            "function_hash": "120825719578505321660184962155054746977",
            "length": 4134.0
        },
        "target": {
            "function": "LZWDecodeCompat",
            "file": "libtiff/tif_lzw.c"
        },
        "id": "CVE-2018-8905-3fbe4683",
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://gitlab.com/libtiff/libtiff@58a898cb4459055bb488ca815c23b880c242a27d",
        "deprecated": false
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "177967733808906035883593633810155823881",
                "203737156195573976975904104044591611902",
                "167066477237446475925485410116217217762",
                "173059985397098238975525246124703618955",
                "99427663126675737957365031708259496074",
                "289243857886536227372722331896346644343",
                "10214055182485147416901345635429964874",
                "183337954797534262759069573818295556151",
                "139234947298997046072255456576489018581",
                "244051190731298221544905369957809947884",
                "94663415500484428692874645151769140260",
                "212093616533759937923555560260924140032",
                "35273233916047150958507687928769187078",
                "217767932149858445127393940380373206037"
            ]
        },
        "target": {
            "file": "libtiff/tif_lzw.c"
        },
        "id": "CVE-2018-8905-e4506fa1",
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://gitlab.com/libtiff/libtiff@58a898cb4459055bb488ca815c23b880c242a27d",
        "deprecated": false
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-8905.json"
vanir_signatures_modified
"2026-07-08T20:05:01Z"