CVE & CISA-KEV Catalog

CVE-2023-36807

MEDIUM
6.2
CVSS v3
NVD

Description

pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In version 2.10.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case if the user extracted metadata from such a malformed PDF. Versions prior to 2.10.5 throw an error, but do not hang forever. This issue was fixed with https://github.com/py-pdf/pypdf/pull/1331 which has been included in release 2.10.6. Users are advised to upgrade. Users unable to upgrade should modify `PyPDF2/generic/_data_structures.py::read_object` to an an error throwing case. See GHSA-hm9v-vj3r-r55m for details.

How to fix

Remediation Available
pypdf2Debian
Fixed in:2.10.7-1CVE-2023-36807

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.57%probability of exploitation in 30 days
43rdpercentile

Moderate risk: more likely to be exploited than 43% of all known CVEs.

References

Related Vulnerabilities

Other CWE-835 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-13935High7.588%-Fix
CVE-2020-36227High7.578%-Fix
CVE-2022-0778High7.571%-Fix
CVE-2019-14241High7.570%--
CVE-2017-16944High7.563%-Fix
CVE-2024-20353High8.663%KEV-
Embed a live status badge for CVE-2023-36807
CVE-2023-36807 severity badge

Markdown

[![CVE-2023-36807](https://tridentstack.com/cve/badge/CVE-2023-36807.svg)](https://tridentstack.com/cve/CVE-2023-36807)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-36807"><img src="https://tridentstack.com/cve/badge/CVE-2023-36807.svg" alt="CVE-2023-36807"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.