Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-12900

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-12900
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:28 UTC · Revision 1

Source evidence

CVE-2018-12900

core-osv · Original source

Published 26 Jun 2018, 22:29 UTC

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.

osv:CVE-2018-12900
Complete source record
{
  "id": "82bf8bf57d70898b97217908d5b4c63e6005b55d22a5300ad52d617c30971b46",
  "url": "https://osv.dev/vulnerability/CVE-2018-12900",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-12900",
    "summary": "Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 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 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.",
    "evidence": "osv:CVE-2018-12900",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-12900",
      "aliases": [
        "CVE-2018-12900"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/vadz/libtiff",
              "type": "GIT",
              "events": [
                {
                  "introduced": "636f2684a0faaf9510ae4219f286a53f98f37483"
                },
                {
                  "last_affected": "636f2684a0faaf9510ae4219f286a53f98f37483"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libtiff:libtiff:4.0.9:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.9"
                      },
                      {
                        "last_affected": "4.0.9"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.9",
            "Release-v4-0-9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12900.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/libtiff/libtiff",
              "type": "GIT",
              "events": [
                {
                  "introduced": "020bd2fd3b4235b2175dafa9633d2b191c50e7cd"
                },
                {
                  "last_affected": "020bd2fd3b4235b2175dafa9633d2b191c50e7cd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libtiff:libtiff:4.0.9:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.9"
                      },
                      {
                        "last_affected": "4.0.9"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.9",
            "v4.0.9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12900.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:39.993261062Z",
      "provider": "osv",
      "references": [
        "https://github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-12900",
        "https://lists.debian.org/debian-lts-announce/2019/11/msg00027.html",
        "https://usn.ubuntu.com/3906-2/",
        "https://access.redhat.com/errata/RHSA-2019:2053",
        "https://access.redhat.com/errata/RHSA-2019:3419",
        "https://usn.ubuntu.com/3906-1/",
        "https://www.debian.org/security/2020/dsa-4670"
      ],
      "provider_metadata": {
        "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": [
              {
                "range": [
                  {
                    "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"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-12900",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434817,
  "published_at": "2018-06-26T22:29:00.257+00:00"
}