CVE-2023-44271
HIGH7.5EPSS 0.24%pillow - security update
Published: 11/3/2023Modified: 4/28/2026
Description
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.
Affected packages (5)
- Bitnami/pillowfrom 0, < 10.0.0
- Debian/pillowfrom 0, < 8.1.2+dfsg-0.3+deb11u2
- Debian/pillowfrom 0, < 8.1.2+dfsg-0.3+deb11u2
- PyPI/pillowfrom 0, < 10.0.0
- PyPI/pillowfrom 0, < 1fe1bb49c452b0318cad12ea9d97c3bef188e9a7 | from 0, < 10.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-44271
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-44271
- PATCHhttps://github.com/python-pillow/Pillow
- WEBhttps://devhub.checkmarx.com/cve-details/CVE-2023-44271
- WEBhttps://devhub.checkmarx.com/cve-details/CVE-2023-44271/
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2023-227.yaml
- WEBhttps://github.com/python-pillow/Pillow/commit/1fe1bb49c452b0318cad12ea9d97c3bef188e9a7
- WEBhttps://github.com/python-pillow/Pillow/pull/7244
- WEBhttps://lists.debian.org/debian-lts-announce/2024/03/msg00021.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2JOEDUJDQLCUII2LQYZYSM7RJL2I3P4
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2JOEDUJDQLCUII2LQYZYSM7RJL2I3P4/