USN-8999-1: Pillow vulnerabilities

Published Nov 4, 2026
·
Updated

It was discovered that Pillow incorrectly handled map stride values when loading certain McIdas AREA images. An attacker could possibly use this issue to obtain sensitive information or cause a denial of service. (CVE-2026-54058) It was discovered that Pillow did not properly check for decompression bombs when processing font files. An attacker could possibly use this issue to cause Pillow to consume excessive memory, resulting in a denial of service. (CVE-2026-54059, CVE-2026-54060, CVE-2026-55379) It was discovered that Pillow did not properly check for decompression bombs when loading GD image files. An attacker could possibly use this issue to cause Pillow to consume excessive memory, resulting in a denial of service. (CVE-2026-55380) It was discovered that Pillow incorrectly validated filter sizes in the rank filter implementation. An attacker could possibly use this issue to cause Pillow to crash or execute arbitrary code. (CVE-2026-59197) It was discovered that Pillow incorrectly handled image coordinate calculations. An attacker could possibly use this issue to cause Pillow to crash. (CVE-2026-59199) It was discovered that Pillow did not properly limit the size of decompressed PDF stream data. An attacker could possibly use this issue to cause Pillow to consume excessive memory, resulting in a denial of service. (CVE-2026-59200) It was discovered that Pillow incorrectly parsed EPS files containing a negative byte count in the BeginBinary directive. An attacker could possibly use this issue to cause Pillow to hang, resulting in a denial of service. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-59203) It was discovered that Pillow incorrectly accumulated JPEG2000 tile component widths. An attacker could possibly use this issue to cause Pillow to consume excessive memory, resulting in a denial of service. (CVE-2026-59204) It was discovered that Pillow incorrectly validated image mode compatibility in color management transforms. An attacker could possibly use this issue to cause Pillow to crash or execute arbitrary code. (CVE-2026-59205)

Affected Software

6 affected componentsFixes available
All of the following
ubuntu/python3-pil<12.1.1-2ubuntu1.4
12.1.1-2ubuntu1.4
Ubuntu Ubuntu=26.04
All of the following
ubuntu/python3-pil<10.2.0-1ubuntu1.4
10.2.0-1ubuntu1.4
Ubuntu Ubuntu=24.04
All of the following
ubuntu/python3-pil<9.0.1-1ubuntu0.6
9.0.1-1ubuntu0.6
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/python3-pil to a version that resolves this vulnerability.

    Fixed in 12.1.1-2ubuntu1.4
  2. Upgrade

    Upgrade ubuntu/python3-pil to a version that resolves this vulnerability.

    Fixed in 10.2.0-1ubuntu1.4
  3. Upgrade

    Upgrade ubuntu/python3-pil to a version that resolves this vulnerability.

    Fixed in 9.0.1-1ubuntu0.6

Event History

Nov 4, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which inputs should be treated as higher risk while assessing exposure?

The advisory identifies specially crafted McIdas AREA images, GD image files, and font files as relevant inputs. Applications that process attacker-controlled files of these types with Pillow are exposed to the described information disclosure or denial-of-service risks.

2

Which issues can cause excessive memory consumption?

CVE-2026-54059, CVE-2026-54060, and CVE-2026-55379 involve insufficient decompression-bomb checks for font files. CVE-2026-55380 similarly affects GD image loading and can cause excessive memory consumption and denial of service.

3

Is arbitrary code execution described for any of the issues?

Yes. CVE-2026-59197, involving incorrect validation of rank-filter sizes, could allow an attacker to crash Pillow or execute arbitrary code.

4

What are the other stated impacts?

CVE-2026-54058 may allow sensitive-information disclosure or denial of service through malformed McIdas AREA images. CVE-2026-59199 may cause Pillow to crash through incorrect image-coordinate calculations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203