A flaw was found in Pillow. This vulnerability allows a remote attacker to cause a Denial of Service (DoS) through an infinite loop during PDF page processing. When rewriting pages, the parser fails to detect circular references in the page tree hierarchy. By submitting a specially crafted PDF document to an application that modifies or appends images to it, an attacker can exhaust system CPU resources and make the service unresponsive.
Exploitability
AV:NAC:LPR:NUI:NScope
S:UImpact
C:NI:NA:H7.5/CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H