CVE-2018-18557

Source
https://cve.org/CVERecord?id=CVE-2018-18557
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18557.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-18557
Downstream
Related
Published
2018-10-22T16:29:00.267Z
Modified
2026-07-08T17:16:50.769461Z
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 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.

Database specific
{
    "unresolved_ranges": [
        {
            "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",
            "vendor_product": "canonical:ubuntu_linux",
            "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:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux",
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/vadz/libtiff

Affected ranges

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

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-18557.json"

Git / gitlab.com/libtiff/libtiff

Affected ranges

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

Affected versions

4.*
4.0.9
v4.*
v4.0.9

Database specific

vanir_signatures_modified
"2026-07-08T17:16:50Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18557.json"
vanir_signatures
[
    {
        "id": "CVE-2018-18557-1108261b",
        "digest": {
            "function_hash": "190085066915173618420271029009044133716",
            "length": 2108.0
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://gitlab.com/libtiff/libtiff@681748ec2f5ce88da5f9fa6831e1653e46af8a66",
        "deprecated": false,
        "target": {
            "function": "TIFFSeek",
            "file": "libtiff/tif_read.c"
        }
    },
    {
        "id": "CVE-2018-18557-3e17f8fa",
        "digest": {
            "function_hash": "210057897584904621344828365436975109649",
            "length": 921.0
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://gitlab.com/libtiff/libtiff@681748ec2f5ce88da5f9fa6831e1653e46af8a66",
        "deprecated": false,
        "target": {
            "function": "JBIGDecode",
            "file": "libtiff/tif_jbig.c"
        }
    },
    {
        "id": "CVE-2018-18557-cdee40b7",
        "digest": {
            "line_hashes": [
                "247914630961059845656055234807818514916",
                "104292445807137112795547946875491026043",
                "62304014052893256128293983457188559594",
                "126344660853215292369719481831952051831",
                "130712379746216526845220217345770107868",
                "308062318645547366851648548810072915472",
                "2601806554458245434522816132305404757",
                "257898619381568456149200277126843576135",
                "186997235240199378592387028722512846019",
                "130000896291107843868048830197794860294",
                "136173744248453040620763930564091389907",
                "165429502352344218510610847841996120239",
                "164265013247130562008768328781500263781",
                "22599428764585318724131021748277002860",
                "111620650723490747315791546503767077824",
                "325377410113415208322057967314877566308",
                "310824384682160970219037171442251074398",
                "187666075236593264981823892895993626084",
                "52544923355034241730146699058582254156",
                "224980861998260872213169659322193589295"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://gitlab.com/libtiff/libtiff@681748ec2f5ce88da5f9fa6831e1653e46af8a66",
        "deprecated": false,
        "target": {
            "file": "libtiff/tif_jbig.c"
        }
    },
    {
        "id": "CVE-2018-18557-d12aa83d",
        "digest": {
            "line_hashes": [
                "240573385735737720604871777269636986831",
                "202493009156054802609509606826718294789",
                "278672465859123006666535992002608320826",
                "145375129124672136049697958460867457622"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://gitlab.com/libtiff/libtiff@681748ec2f5ce88da5f9fa6831e1653e46af8a66",
        "deprecated": false,
        "target": {
            "file": "libtiff/tif_read.c"
        }
    }
]