PyPi: Pypdf2

CVE-2023-36810

Safety vulnerability ID: 59256

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jun 30, 2023 Updated at Nov 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

Pypdf2 1.27.9 includes a fix for CVE-2023-36810: An attacker who uses this vulnerability can craft a PDF which leads to unexpected long runtime. This quadratic runtime blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage.
https://github.com/py-pdf/pypdf/security/advisories/GHSA-jrm6-h9cq-8gqw

Affected package

pypdf2

Latest version: 3.0.1

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

Affected versions

Fixed versions

Vulnerability changelog

pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. An attacker who uses this vulnerability can craft a PDF which leads to unexpected long runtime. This quadratic runtime blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. This issue has been addressed in PR 808 and versions from 1.27.9 include this fix. Users are advised to upgrade. There are no known workarounds for this vulnerability. See CVE-2023-36810.


MISC:https://github.com/py-pdf/pypdf/issues/582: https://github.com/py-pdf/pypdf/issues/582
MISC:https://github.com/py-pdf/pypdf/pull/808: https://github.com/py-pdf/pypdf/pull/808
MISC:https://github.com/py-pdf/pypdf/security/advisories/GHSA-jrm6-h9cq-8gqw: https://github.com/py-pdf/pypdf/security/advisories/GHSA-jrm6-h9cq-8gqw

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.5

CVSS v3 Details

MEDIUM 6.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH