Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow's PdfParser.get_value() can recurse without a limit while reading nested PDF objects. The parser follows attacker-controlled arrays and dictionaries when an existing PDF is opened for append. An attacker can provide a deeply nested PDF to an application that saves an image with PDF append enabled. This can raise an uncaught RecursionError or terminate the worker, causing denial of service. This issue is fixed in version 13.0.0.
📦
pillow
Vendor: python
Actively Exploited
0
CISA KEV List
PoC / Exploits
0
Code Available
Total RCEs
15
Remote Access
Total CVEs
183
Total Indexed
Avg. EPSS
1.90%
Exploit Prob.
Security Vulnerability Index
Page 1 / 19
6.3
CVSS
Severity: MEDIUM
8.2
CVSS
Pillow is a Python imaging library. From 7.2.0 until 13.0.0, Pillow can enter an infinite loop while determining the frame count of a MIC image. MicImageFile inherits TIFF frame traversal, but MicImageFile.tell reports the OLE stream index and its seek() resets TIFF frame state, so an embedded TIFF with at least three IFDs never advances. When an application with olefile installed reads n_frames or saves all frames from a crafted MIC file, the non-advancing traversal can hold a worker at full CPU indefinitely. This issue is fixed in version 13.0.0.
Severity: HIGH
0.0
CVSS