CVE-2023-44271
HIGH 7.5CVSS 3.1Pillow Denial of Service vulnerability
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.
- Published
- 3 Nov 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400CWE-770
- Also known as
- BIT-pillow-2023-44271GHSA-8ghj-p4vj-mr35PYSEC-2023-227
- Sources
- NVDJSONOSV GHSA-8ghj-p4vj-mr35JSONOSV PYSEC-2023-227JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pillowcpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* |
< 10.0.0 | 10.0.0 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| OSV | PyPI | pillow | < 10.0.0 | 10.0.0 |
References
- https://devhub.checkmarx.com/cve-details/CVE-2023-44271/ · Third Party Advisory, WEB
- https://github.com/python-pillow/Pillow/commit/1fe1bb49c452b0318cad12ea9d97c3bef188e9a7 · Patch, WEB, FIX
- https://github.com/python-pillow/Pillow/pull/7244 · Patch, WEB
- https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2JOEDUJDQLCUII2LQYZYSM7RJL2I3P4/ · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-44271 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2023-227.yaml · WEB
- https://github.com/python-pillow/Pillow · PACKAGE
- https://github.com/advisories/GHSA-8ghj-p4vj-mr35 · ADVISORY
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 3 Nov 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Nov 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Nov 2023)