Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-17858

Heap-based buffer overflow in the ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1.12.0 allows a remote attacker to potentially execute arbitrary code via a crafted PDF file, because xref subsection object numbers are unrestricted.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-17858
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:30 UTC · Revision 1

Source evidence

CVE-2017-17858

core-osv · Original source

Published 22 Jan 2018, 15:29 UTC

Heap-based buffer overflow in the ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1.12.0 allows a remote attacker to potentially execute arbitrary code via a crafted PDF file, because xref subsection object numbers are unrestricted.

osv:CVE-2017-17858
Complete source record
{
  "id": "356d3ed557734d96056bb703c4b654fa5967011fd423d6dfc341a1e4129c32ca",
  "url": "https://osv.dev/vulnerability/CVE-2017-17858",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-17858",
    "summary": "Heap-based buffer overflow in the ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1.12.0 allows a remote attacker to potentially execute arbitrary code via a crafted PDF file, because xref subsection object numbers are unrestricted.",
    "evidence": "osv:CVE-2017-17858",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-17858",
      "aliases": [
        "CVE-2017-17858"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/artifexsoftware/mupdf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "26006b55f02c8d0a4a90ffedb45f724798052ef2"
                },
                {
                  "last_affected": "26006b55f02c8d0a4a90ffedb45f724798052ef2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:artifex:mupdf:1.12.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.0"
                      },
                      {
                        "last_affected": "1.12.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.12.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17858.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:19.323248216Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201811-15",
        "https://bugs.ghostscript.com/show_bug.cgi?id=698819",
        "https://github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.md"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-17858",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429986,
  "published_at": "2018-01-22T15:29:00.21+00:00"
}