CVE-2023-44271
Pillow Denial of Service vulnerability
Reported by mitre · Published November 3, 2023
pillow is fixed in 10.0.0 (PyPI)
An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of memory. This occurs for truetype in ImageFont when textlength in an ImageDraw instance operates on a long text argument.
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 | 10.0.0 |
| python3-pillow-devel | Amazon Linux | 9.4.0-2.amzn2023.0.3 |
| python-pillow-devel | Amazon Linux | 2.0.0-23.gitd1c6db8.amzn2.0.12 |
| pillow | python | 10.0.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | python3-pillow-devel | 0 |
| amazon:2 | python-pillow-devel | 0 |
| PyPI | Pillow | 0 |
| n/a | n/a | * |
| amazon:2 | python-pillow-sane | 0 |
| amazon:2023 | python3-pillow-tk | 0 |
| amazon:2 | python-pillow-doc | 0 |
| amazon:2 | python-pillow | 0 |
| amazon:2023 | python3-pillow | 0 |
| python | pillow | |
| amazon:2 | python-pillow-tk | 0 |
Timeline
- Nov 3, 2023 CVE Published
- Nov 3, 2023 EPSS Score (30 in total, the first dated here)
- Oct 14, 2024 CVE Updated
- Mar 9, 2026 Security Advisory (14 in total, the first dated here)
- Aug 2, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (12 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-44271
vulnetix vdb fixes CVE-2023-44271
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-2023-44271/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2023-1a120657f9 vendor-advisory
- [debian-lts-announce] 20240322 [SECURITY] [DLA 3768-1] pillow security update mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2023-44271 advisory
- https://github.com/advisories/GHSA-8ghj-p4vj-mr35 advisory
- https://devhub.checkmarx.com/cve-details/CVE-2023-44271 url
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2023-227.yaml advisory
- https://github.com/python-pillow/Pillow url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2JOEDUJDQLCUII2LQYZYSM7RJL2I3P4 url