GHSA-8x2r-v9x5-3qgh: Duplicate Advisory Insecure Deserialization (pickle) Vulnerability

HIGH
CVSS 7.8
CWE-502
Published
Advisory Summary

GHSA-8x2r-v9x5-3qgh is a HIGH (CVSS 7.8) insecure deserialization (pickle) vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves insecure deserialization (pickle) in pdfminer.six cmap loader — local privesc. Remediation is available by upgrading affected packages to version 20251230.

GHSA-8x2r-v9x5-3qgh at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-8x2r-v9x5-3qgh
Severity HIGH
CVSS v3.1 Base Score 7.8
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-8x2r-v9x5-3qgh

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

pdfminer.six fixed: 20251230
pip install pdfminer.six>=20251230
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show pdfminer.six

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-8x2r-v9x5-3qgh, inspect your installed packages using pip:

pip show pdfminer.six

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 20251230), your application is affected.

Note: The pip show pdfminer.six command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-f83h-ghpp-7wcc. This link is maintained to preserve external references. ## Original Description 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.

GHSA-8x2r-v9x5-3qgh Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
20251230
Product / Package Ecosystem Affected Versions Fixed Version
pdfminer.six
PyPI
< 20251230
20251230

References

Frequently Asked Questions

What is GHSA-8x2r-v9x5-3qgh?
GHSA-8x2r-v9x5-3qgh is a security vulnerability in Duplicate Advisory involving Insecure Deserialization (pickle) in pdfminer.six CMap Loader — Local Privesc under CWE-502: Deserialization of Untrusted Data.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 20251230 across affected packages: pdfminer.six.
What version fixes GHSA-8x2r-v9x5-3qgh?
Upgrading to 20251230 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pdfminer.six affected?
Yes, pdfminer.six is affected in releases prior to 20251230. Upgrade your dependency to 20251230 or later.
What is the CVSS score of GHSA-8x2r-v9x5-3qgh?
GHSA-8x2r-v9x5-3qgh has a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-8x2r-v9x5-3qgh?
GHSA-8x2r-v9x5-3qgh is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check PyPI dependencies for GHSA-8x2r-v9x5-3qgh?
Run the dependency tree command: 'pip show pdfminer.six'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8x2r-v9x5-3qgh",
  "modified" : "2026-02-04T16:49:45Z",
  "published" : "2026-02-03T18:30:47Z",
  "withdrawn" : "2026-02-04T16:49:45Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Insecure Deserialization (pickle) in pdfminer.six CMap Loader — Local Privesc",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-f83h-ghpp-7wcc. This link is maintained to preserve external references.\n\n## Original Description\npdfminer.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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "pdfminer.six"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "20251230"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pdfminer/pdfminer.six/security/advisories/GHSA-f83h-ghpp-7wcc"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-70559"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-f83h-ghpp-7wcc"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pdfminer/pdfminer.six"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-04T16:49:45Z",
    "nvd_published_at" : "2026-02-03T18:16:17Z"
  }
}