CVE-2023-44271Python Pillow
High 7.5 No auth needed
Follow: this CVE · Python · Python Pillow We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- Nov 3, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Pillow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pillow |
< 10.0.0 |
10.0.0 |
pip install "pillow>=10.0.0" |
| PyPI | pillow |
< 10.0.0 |
10.0.0 |
pip install "pillow>=10.0.0" |
Per OSV / GitHub Advisories (GHSA-8ghj-p4vj-mr35, PYSEC-2023-227). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | pillow | < 10.0.0 |
| fedoraproject | fedora | 38 |
Official advisories
- python313-Pillow-12.3.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11261-1 · Jul 12, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- devhub.checkmarx.com Third Party Advisory
- github.com Patch
- github.com Patch
- lists.debian.org
- lists.fedoraproject.org Mailing List Third Party Advisory