UBUNTU-CVE-2025-64512

Source
https://ubuntu.com/security/CVE-2025-64512
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64512.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-64512
Upstream
Published
2025-11-10T22:15:00Z
Modified
2026-09-28T05:30:04Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Pdfminer.six is a community maintained fork of the original PDFMiner, a tool for extracting information from PDF documents. Prior to version 20251107, pdfminer.six will execute arbitrary code from a malicious pickle file if provided with a malicious PDF file. The CMapDB._load_data() function in pdfminer.six uses pickle.loads() to deserialize pickle files. These pickle files are supposed to be part of the pdfminer.six distribution stored in the cmap/ directory, but a malicious PDF can specify an alternative directory and filename as long as the filename ends in .pickle.gz. A malicious, zipped pickle file can then contain code which will automatically execute when the PDF is processed. Version 20251107 fixes the issue.

References

Affected packages

Ubuntu:25.10
pdfminer

Package

Name
pdfminer
Purl
pkg:deb/ubuntu/pdfminer?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

Other
20221105+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "pdfminer-data",
            "binary_version":  "20221105+dfsg-1"
        },
        {
            "binary_name":  "python3-pdfminer",
            "binary_version":  "20221105+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64512.json"
Ubuntu:Pro:16.04:LTS
pdfminer

Package

Name
pdfminer
Purl
pkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

Other
20110515+dfsg-1
20140328+dfsg-1
20140328+dfsg-1ubuntu0.*
20140328+dfsg-1ubuntu0.16.04.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "pdfminer-data",
            "binary_version":  "20140328+dfsg-1ubuntu0.16.04.1~esm1"
        },
        {
            "binary_name":  "python-pdfminer",
            "binary_version":  "20140328+dfsg-1ubuntu0.16.04.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64512.json"
Ubuntu:Pro:18.04:LTS
pdfminer

Package

Name
pdfminer
Purl
pkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

Other
20140328+dfsg-1
20140328+dfsg-1ubuntu0.*
20140328+dfsg-1ubuntu0.18.04.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "pdfminer-data",
            "binary_version":  "20140328+dfsg-1ubuntu0.18.04.1~esm1"
        },
        {
            "binary_name":  "python-pdfminer",
            "binary_version":  "20140328+dfsg-1ubuntu0.18.04.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64512.json"
Ubuntu:Pro:20.04:LTS
pdfminer

Package

Name
pdfminer
Purl
pkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

Other
20181108+dfsg-3
20191020+dfsg-1
20191020+dfsg-2
20191020+dfsg-2ubuntu0.*
20191020+dfsg-2ubuntu0.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "pdfminer-data",
            "binary_version":  "20191020+dfsg-2ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-pdfminer",
            "binary_version":  "20191020+dfsg-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64512.json"
Ubuntu:Pro:22.04:LTS
pdfminer

Package

Name
pdfminer
Purl
pkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

Other
20200726-1
20201018+dfsg-1
20220319+dfsg-1
20220319+dfsg-1ubuntu0.*
20220319+dfsg-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "pdfminer-data",
            "binary_version":  "20220319+dfsg-1ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-pdfminer",
            "binary_version":  "20220319+dfsg-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64512.json"
Ubuntu:Pro:24.04:LTS
pdfminer

Package

Name
pdfminer
Purl
pkg:deb/ubuntu/pdfminer?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

Other
20221105+dfsg-1
20221105+dfsg-1ubuntu0.*
20221105+dfsg-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "pdfminer-data",
            "binary_version":  "20221105+dfsg-1ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-pdfminer",
            "binary_version":  "20221105+dfsg-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64512.json"