Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-9878

There is an invalid memory access in the function GfxIndexedColorSpace::mapColorToBase() located in GfxState.cc in Xpdf 4.0.0, as used in pdfalto 0.2. It can be triggered by (for example) sending a crafted pdf file to the pdftops binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.

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

Source evidence

CVE-2019-9878

core-osv · Original source

Published 21 Mar 2019, 16:01 UTC

There is an invalid memory access in the function GfxIndexedColorSpace::mapColorToBase() located in GfxState.cc in Xpdf 4.0.0, as used in pdfalto 0.2. It can be triggered by (for example) sending a crafted pdf file to the pdftops binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.

osv:CVE-2019-9878
Complete source record
{
  "id": "c6a70c7e7d8e16d78a16e2af59318635ec3d06870f203376fd5bb29a624ceb42",
  "url": "https://osv.dev/vulnerability/CVE-2019-9878",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-9878",
    "summary": "There is an invalid memory access in the function GfxIndexedColorSpace::mapColorToBase() located in GfxState.cc in Xpdf 4.0.0, as used in pdfalto 0.2. It can be triggered by (for example) sending a crafted pdf file to the pdftops binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.",
    "evidence": "osv:CVE-2019-9878",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-9878",
      "aliases": [
        "CVE-2019-9878"
      ],
      "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/kermitt2/pdfalto",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dea10fda1261a5849da04f727d53e27406be8e97"
                },
                {
                  "last_affected": "dea10fda1261a5849da04f727d53e27406be8e97"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:pdfalto_project:pdfalto:0.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.2"
                      },
                      {
                        "last_affected": "0.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-9878.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:43.967424035Z",
      "provider": "osv",
      "references": [
        "https://github.com/kermitt2/pdfalto/issues/46",
        "https://research.loginsoft.com/bugs/invalid-memory-access-in-gfxindexedcolorspacemapcolortobase-pdfalto-0-2/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:xpdfreader:xpdf:4.0.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "xpdfreader:xpdf",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "last_affected": "4.0.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-9878",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382832,
  "published_at": "2019-03-21T16:01:17.593+00:00"
}