CVE-2026-59198
Reported by github_m · Published July 14, 2026
pillow is fixed in 12.3.0 (PyPI)
Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. This issue is fixed in version 12.3.0.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pillow | PyPI | 12.3.0 |
| superset-6.1 | Chainguard | 6.1.0-r6 |
| pillow | Bitnami | 12.3.0 |
| text-generation-inference | Chainguard | 3.3.7-r20 |
| label-studio | Chainguard | 1.23.0-r11 |
| openstack-horizon-2025.2-fips | Chainguard | 25.5.2_git20260617-r5 |
| superset-6.1 | Wolfi | 6.1.0-r6 |
| lmcache-cuda-12.8 | Chainguard | 0.5.3-r0 |
| python3-pillow | Amazon Linux | 9.4.0-2.amzn2023.0.10 |
| openstack-horizon-2026.1 | Chainguard | 25.7.3_git20260630-r2 |
| python3-pillow-devel | Amazon Linux | 9.4.0-2.amzn2023.0.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | >= 5.2.0, < 12.3.0 |
| chainguard | superset-6.1 | 0 |
| chainguard | text-generation-inference | 0 |
| chainguard | label-studio | 0 |
| chainguard | openstack-horizon-2025.2-fips | 0 |
| wolfi | superset-6.1 | 0 |
| PyPI | Pillow | 5.2.0 |
| chainguard | lmcache-cuda-12.8 | 0 |
| amazon:2023 | python3-pillow | 0 |
| chainguard | openstack-horizon-2026.1 | 0 |
| amazon:2023 | python3-pillow-devel | 0 |
| python-pillow | Pillow | 5.2.0 |
| chainguard | superset-fips-6.1 | 0 |
| amazon:2023 | python3-pillow-tk | 0 |
| wolfi | mlflow | 0, 0 |
| chainguard | open-webui | 0 |
| chainguard | tritonserver-backend-vllm-cuda-13.0 | 0 |
| chainguard | tensorflow-gpu-jupyter | 0 |
| python-pillow | Pillow | |
| chainguard | mlflow | 0, 0 |
…and 6 more
Timeline
- Jul 14, 2026 CVE Published
- Jul 14, 2026 CVE Updated
- Jul 15, 2026 Coalition ESS Score
- Aug 7, 2026 EPSS Score (28 in total, the first dated here)
- Aug 7, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-59198
vulnetix vdb fixes CVE-2026-59198
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-59198/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-fj7v-r99m-22gq x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/pull/9709 x_refsource_MISC
- https://github.com/python-pillow/Pillow/commit/eada3cbd7fb9963ee90673fb7b5270124a0d5f4b x_refsource_MISC
- https://github.com/python-pillow/Pillow/releases/tag/12.3.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-59198 advisory
- https://github.com/advisories/GHSA-fj7v-r99m-22gq advisory