CVE-2026-112391
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/python-pillow/Pillow/commit/94cb11c44ff7345414da17ebfea1598a529ad9cd
- github.com/python-pillow/Pillow/releases/tag/13.0.0
- github.com/python-pillow/Pillow/security/advisories/GHSA-254f-3936-288h
- nvd.nist.gov/vuln/detail/CVE-2026-112391
- github.com/advisories/GHSA-254f-3936-288h
- nvd.nist.gov/vuln/detail/CVE-2026-112391
- cve.org/CVERecord?id=CVE-2026-112391
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.