GHSA-jrm6-h9cq-8gqwMediumCVSS 6.2

PyPDF2 quadratic runtime with malformed PDF missing xref marker

Published
June 30, 2023
Last Modified
November 6, 2023

🔗 CVE IDs covered (1)

📋 Description

Impact

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.

Patches

https://github.com/py-pdf/pypdf/pull/808

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

References

🎯 Affected products1

  • pip/PyPDF2:<= 1.27.8

🔗 References (7)