ESB-2026.3167
PUBLISHED
CVSS 9.100000381469727 CRITICAL
===========================================================================
AUSCERT External Security Bulletin Redistribution
ESB-2026.3167
USN-8135-1: Pillow vulnerabilities
1 April 2026
===========================================================================
AUSCERT Security Bulletin Summary
---------------------------------
Product: Pillow
Publisher: Ubuntu
Operating System: Ubuntu
Resolution: Patch/Upgrade
CVE Names: CVE-2021-25290 CVE-2021-28677 CVE-2021-28676
CVE-2021-28675 CVE-2021-25288 CVE-2021-25287
CVE-2023-44271 CVE-2023-50447
Original Bulletin:
https://ubuntu.com/security/notices/USN-8135-1
Comment: CVSS (Max): 9.1 CVE-2021-25288 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H)
CVSS Source: Ubuntu
Calculator: https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS (Max): 0.8% (73rd) CVE-2023-50447 2026-03-31
- --------------------------BEGIN INCLUDED TEXT--------------------
USN-8135-1: Pillow vulnerabilities
Publication date
31 March 2026
Overview
Several security issues were fixed in Pillow.
Releases
18.04 LTS 16.04 LTS 14.04 LTS
---------------------------------------------------------------------------------
Open side navigation
Packages
o pillow - Python Imaging Library
Details
It was discovered that Pillow did not correctly handle reading J2K files,
which could lead to an out-of-bounds read vulnerability. If a user or
automated system were tricked into opening a specially crafted file, an
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 16.04 LTS. ( CVE-2021-25287 , CVE-2021-25288 )
It was discovered that Pillow did not correctly handle certain integer
arithmetic, which could lead to a buffer overflow. An attacker could
possibly use this issue to cause a denial of service or execute arbitrary
code. This issue only affected Ubuntu 14.04 LTS. ( CVE-2021-25290 )
It was discovered that Pillow did not correctly perform bounds checking
for certain operations. An attacker could possibly use this issue to
cause a denial of service. This issue only affected Ubuntu 14.04 LTS
and Ubuntu 16.04 LTS. ( CVE-2021-28675 , CVE-2021-28676 , CVE-2021-28677 )
It was discovered that Pillow did not correctly handle certain memory
operations. An attacker could possibly use this issue to cause a denial
of service. ( CVE-2023-44271 )
It was discovered that Pillow did not correctly sanitize certain inputs.
An attacker could possibly use this issue to execute arbitrary code.
( CVE-2023-50447 )
---------------------------------------------------------------------------------
Update instructions
The problem can be corrected by updating your system to the following package
versions:
Ubuntu Package Version
Release
python-pil - 5.1.0-1ubuntu0.8+esm2 Ubuntu Pro Fix available with
18.04 LTS Ubuntu Pro .
bionic python3-pil - 5.1.0-1ubuntu0.8+esm2 Ubuntu Pro Fix available with
Ubuntu Pro .
python-pil - 3.1.2-0ubuntu1.6+esm3 Ubuntu Pro Fix available with
16.04 LTS Ubuntu Pro .
xenial python3-pil - 3.1.2-0ubuntu1.6+esm3 Ubuntu Pro Fix available with
Ubuntu Pro .
python-pil - 2.3.0-1ubuntu3.4+esm5 Ubuntu Pro Fix available with
14.04 LTS Ubuntu Pro via Legacy Support add-on.
trusty python3-pil - 2.3.0-1ubuntu3.4+esm5 Ubuntu Pro Fix available with
Ubuntu Pro via Legacy Support add-on.
---------------------------------------------------------------------------------
References
o CVE-2023-50447
o CVE-2023-44271
o CVE-2021-28677
o CVE-2021-28676
o CVE-2021-28675
o CVE-2021-25290
o CVE-2021-25288
o CVE-2021-25287
Related notices
o USN-6618-1
o USN-4963-1
o USN-4763-1
- --------------------------END INCLUDED TEXT----------------------
You have received this e-mail bulletin as a result of your organisation's
registration with AUSCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.
NOTE: Third Party Rights
This security bulletin is provided as a service to AUSCERT's members. As
AUSCERT did not write the document quoted above, AUSCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AUSCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.
NOTE: This is only the original release of the security bulletin. It may
not be updated when updates to the original are made. If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.
Contact information for the authors of the original document is included
in the Security Bulletin above. If you have any questions or need further
information, please contact them directly.
Previous advisories and external security bulletins can be retrieved from:
https://portal.auscert.org.au/bulletins/
===========================================================================
AUSCERT
The University of Queensland, Brisbane QLD 4072 Australia
e: auscert@auscert.org.au
t: +61 (0)7 3365 4417
Allies in Cyber Security
===========================================================================