Vulnerability Details : CVE-2023-36810
Potential exploit
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.
Products affected by CVE-2023-36810
- cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-36810
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 34 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-36810
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST | |
6.2
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
2.5
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2023-36810
-
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.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-36810
-
https://github.com/py-pdf/pypdf/security/advisories/GHSA-jrm6-h9cq-8gqw
Quadratic runtime with malformed PDF missing xref marker · Advisory · py-pdf/pypdf · GitHubExploit;Patch;Vendor Advisory
-
https://lists.debian.org/debian-lts-announce/2023/07/msg00019.html
[SECURITY] [DLA 3497-1] pypdf2 security update
-
https://github.com/py-pdf/pypdf/issues/582
Quadratic runtime with malformed PDF missing xref marker · Issue #582 · py-pdf/pypdf · GitHubExploit;Issue Tracking;Vendor Advisory
-
https://github.com/py-pdf/pypdf/pull/808
fix pdf reader getting stuck when trying to read large files wihhout xref marker by dsk7 · Pull Request #808 · py-pdf/pypdf · GitHubPatch
Jump to