py-pdf
cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*
- < 6.7.1
A denial-of-service vulnerability has been identified in pypdf versions prior to 6.7.1. This issue allows an attacker to craft a PDF that causes an infinite loop when the children of a TreeObject are accessed, such as during outline processing.
Exploitation of this vulnerability leads to an infinite loop, causing a denial-of-service condition.
The vulnerability can be reproduced by creating a PDF file that includes a TreeObject with cyclic references, such as a nested outline structure where children reference each other in a loop. When this PDF is processed by pypdf versions prior to 6.7.1, accessing the TreeObject's children will trigger the infinite loop.
Users can upgrade to pypdf version 6.7.1 or later to address this vulnerability. If an immediate upgrade is not possible, the changes from PR #3645 can be applied as a workaround.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.