Skip to content

CVE-2026-27025 (Medium) detected in pypdf-6.6.2-py3-none-any.whl #45

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2026-27025 - Medium Severity Vulnerability

Vulnerable Library - pypdf-6.6.2-py3-none-any.whl

A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files

Library home page: https://files.pythonhosted.org/packages/7d/be/549aaf1dfa4ab4aed29b09703d2fb02c4366fc1f05e880948c296c5764b9/pypdf-6.6.2-py3-none-any.whl

Path to dependency file: /extract-pdf-text/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20260220141226_ZZFSBE/python_GNCKKA/202602201412321/env/lib/python3.9/site-packages/pypdf-6.6.2.dist-info

Dependency Hierarchy:

  • pypdf-6.6.2-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 173a4b19d88f4906c34e6f2cd6aabc948152143b

Found in base branch: main

Vulnerability Details

Impact An attacker who uses this vulnerability can craft a PDF which leads to long runtimes and large memory consumption. This requires parsing the "/ToUnicode" entry of a font with unusually large values, for example during text extraction. Patches This has been fixed in "pypdf==6.7.1" (https://github.com/py-pdf/pypdf/releases/tag/6.7.1). Workarounds If you cannot upgrade yet, consider applying the changes from PR "#3646" (py-pdf/pypdf#3646).

Publish Date: 2026-02-19

URL: CVE-2026-27025

CVSS 3 Score Details (6.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-wgvp-vg3v-2xq3

Release Date: 2026-02-19

Fix Resolution: 6.7.1


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions