CVE Vulnerabilities

CVE-2023-36810

Inefficient Algorithmic Complexity

Published: Jun 30, 2023 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

Affected Software

Name Vendor Start Version End Version
Pypdf Pypdf_project * 1.27.8 (including)
Pypdf2 Ubuntu bionic *
Pypdf2 Ubuntu esm-apps/bionic *
Pypdf2 Ubuntu esm-apps/xenial *
Pypdf2 Ubuntu focal *
Pypdf2 Ubuntu jammy *
Pypdf2 Ubuntu kinetic *
Pypdf2 Ubuntu trusty *
Pypdf2 Ubuntu xenial *

References