Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-18064

cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-18064
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:10 UTC · Revision 1

Source evidence

CVE-2018-18064

core-osv · Original source

Published 8 Oct 2018, 18:29 UTC

cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).

osv:CVE-2018-18064
Complete source record
{
  "id": "7b3f85a43d539e0d845ca4294176790b6e7c44d4881b946854f0a7a269132e5b",
  "url": "https://osv.dev/vulnerability/CVE-2018-18064",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-18064",
    "summary": "cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).",
    "evidence": "osv:CVE-2018-18064",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-18064",
      "aliases": [
        "CVE-2018-18064"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.freedesktop.org/cairo/cairo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "d9aaea0c1e1484c632e1a6735c6ecc961c4b032b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cairographics:cairo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.15.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.15.14",
            "1.15.12",
            "1.15.8",
            "1.15.6",
            "1.15.4",
            "1.15.2",
            "1.14.2",
            "1.14.0",
            "1.12.16",
            "1.12.14",
            "1.12.12",
            "1.12.10",
            "1.12.8",
            "1.12.6",
            "1.12.4",
            "1.12.2",
            "1.12.0",
            "1.11.4",
            "1.11.2",
            "1.10.0",
            "1.9.14",
            "1.9.12",
            "1.9.10",
            "1.9.8",
            "1.9.6",
            "1.9.4",
            "1.9.2",
            "1.8.2",
            "1.8.0",
            "1.7.6",
            "1.7.4",
            "1.7.2",
            "1.6.2",
            "1.6.0",
            "1.5.20",
            "1.5.18",
            "1.5.16",
            "1.5.14",
            "1.5.12",
            "1.5.10",
            "1.5.8",
            "1.5.6",
            "1.5.4",
            "1.5.2",
            "1.4.8",
            "1.4.6",
            "1.4.2",
            "1.4.0",
            "1.3.16",
            "1.3.14",
            "1.3.10",
            "1.3.8",
            "1.3.6",
            "1.3.4",
            "1.3.2",
            "1.2.4",
            "1.2.2",
            "1.2.0",
            "1.1.10",
            "1.1.8",
            "1.1.6",
            "1.1.4",
            "1.1.2",
            "RELEASE_1_0_0",
            "1.0.0",
            "RELEASE_0_9_2",
            "SNAPSHOT_0_1_6",
            "SNAPSHOT_0_1_5",
            "SNAPSHOT_0_1_4",
            "SNAPSHOT_0_1_3",
            "SNAPSHOT_0_1_2",
            "SNAPSHOT_0_1_1",
            "initial"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18064.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:54.996748145Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E",
        "https://gitlab.freedesktop.org/cairo/cairo/issues/341"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-18064",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380977,
  "published_at": "2018-10-08T18:29:00.27+00:00"
}