A flaw was found in pypdf. An attacker can cause a Denial of Service (DoS) by providing a crafted, encrypted PDF document containing a forged page count. When an application attempts to retrieve the page count, pypdf trusts the unvalidated declared value rather than verifying the page tree, resulting in excessive CPU processing time and memory consumption.
Exploitability
AV:NAC:LPR:NUI:RScope
S:UImpact
C:NI:NA:H6.5/CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H