VDB
CVE-2026-112894
CVE-2026-112894
PUBLISHED
CVSS 8.7 HIGH
Reported by GitHub_M · Published October 19, 2026
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow takes quadratic time to reserve PDF object identifiers when saving many frames with save_all enabled. PdfParser.next_object_id() repeatedly rebuilds and scans all previously reserved identifiers for every object. An attacker can supply a multi-frame image, including a small APNG with a large declared frame count, to an application that converts it to a multipage PDF. This can consume excessive CPU and deny service. This issue is fixed in version 13.0.0.
Risk Scores
CVSS 4.0
8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | >= 5.1.0, < 13.0.0 |
| chainguard | superset-fips-6.1 | 0 |
| wolfi | py3-pillow | 0 |
| chainguard | apache-beam-python-3.12-sdk | 0 |
| PyPI | Pillow | 5.1.0 |
| chainguard | open-webui | 0 |
| chainguard | nemo-rl-cuda-13.0 | 0 |
| wolfi | open-webui | 0 |
| chainguard | py3-pillow | 0 |
| chainguard | py3-pytorch-cuda-13.0 | 0 |
| python-pillow | Pillow | 5.1.0 |
| chainguard | nemo-gym | 0 |
| chainguard | openstack-horizon-2025.2 | 0 |
Timeline
- Oct 19, 2026 CVE Published
- Oct 20, 2026 EPSS Score
- Oct 20, 2026 Coalition ESS Score
- Oct 21, 2026 EPSS Score
- Oct 24, 2026 EPSS Score
- Oct 25, 2026 EPSS Score
- Oct 29, 2026 EPSS Score
- Oct 30, 2026 Distribution Patch
- Oct 30, 2026 Security Advisory
- Oct 30, 2026 Security Advisory
- Oct 31, 2026 EPSS Score
- Nov 3, 2026 Distribution Patch
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-jg86-v3jv-hrpm x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/commit/f6a852555f1a1bdff7781abf25f1a3b8bd6ce6cb x_refsource_MISC
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-112894 advisory
- https://github.com/advisories/GHSA-jg86-v3jv-hrpm advisory