Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-70559

pdfminer.six before 20251230 contains an insecure deserialization vulnerability in the CMap loading mechanism. The library uses Python pickle to deserialize CMap cache files without validation. An attacker with the ability to place a malicious pickle file in a location accessible to the application can trigger arbitrary code execution or privilege escalation when the file is loaded by a trusted process. This is caused by an incomplete patch to CVE-2025-64512.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-70559
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:54 UTC · Revision 1

Source evidence

CVE-2025-70559

core-osv · Original source

Published 3 Feb 2026, 00:00 UTC

pdfminer.six before 20251230 contains an insecure deserialization vulnerability in the CMap loading mechanism. The library uses Python pickle to deserialize CMap cache files without validation. An attacker with the ability to place a malicious pickle file in a location accessible to the application can trigger arbitrary code execution or privilege escalation when the file is loaded by a trusted process. This is caused by an incomplete patch to CVE-2025-64512.

osv:CVE-2025-70559
Complete source record
{
  "id": "c0bd3b895ce5b5ff9a9275b9ce4e239a3dce27f30a8e2a8bfb4bfb0a1ac65dca",
  "url": "https://osv.dev/vulnerability/CVE-2025-70559",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-70559",
    "summary": "pdfminer.six before 20251230 contains an insecure deserialization vulnerability in the CMap loading mechanism. The library uses Python pickle to deserialize CMap cache files without validation. An attacker with the ability to place a malicious pickle file in a location accessible to the application can trigger arbitrary code execution or privilege escalation when the file is loaded by a trusted process. This is caused by an incomplete patch to CVE-2025-64512.",
    "evidence": "osv:CVE-2025-70559",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-70559",
      "aliases": [
        "CVE-2025-70559",
        "GHSA-f83h-ghpp-7wcc",
        "PYSEC-2026-1761"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pdfminer/pdfminer.six",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7094c9d3b2d732af4d017ff7bf390939ccdc72e9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "20251230"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "20251229",
            "20251228",
            "20251227",
            "20251107",
            "20250506",
            "20250416",
            "20250327",
            "20240706",
            "20221105",
            "20220524",
            "20220506",
            "20220319",
            "20211012",
            "20201018",
            "20200726",
            "20200720",
            "20200517",
            "20200402",
            "20200124",
            "20200121",
            "20200104",
            "20191110",
            "20191107",
            "20191020",
            "20181108",
            "20170720",
            "20170419",
            "20160614"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-70559.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.771144204Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70559.json",
        "https://github.com/advisories/GHSA-f83h-ghpp-7wcc",
        "https://github.com/pdfminer/pdfminer.six/security/advisories/GHSA-f83h-ghpp-7wcc",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-70559"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70559.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-70559",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517915,
  "published_at": "2026-02-03T00:00:00+00:00"
}