CVE Vulnerabilities

CVE-2026-40192

Uncontrolled Resource Consumption

Published: Apr 15, 2026 | Modified: Apr 22, 2026
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Pillow is a Python imaging library. Versions 10.3.0 through 12.1.1 did not limit the amount of GZIP-compressed data read when decoding a FITS image, making them vulnerable to decompression bomb attacks. A specially crafted FITS file could cause unbounded memory consumption, leading to denial of service (OOM crash or severe performance degradation). If users are unable to immediately upgrade, they should only open specific image formats, excluding FITS, as a workaround.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
PillowPython10.3.0 (including)12.2.0 (excluding)
Red Hat Ansible Automation Platform 2.5 for RHEL 8RedHatpython3.12-pillow-0:12.2.0-1.el8ap*
Red Hat Ansible Automation Platform 2.5 for RHEL 9RedHatpython3.12-pillow-0:12.2.0-1.el9ap*
Red Hat Ansible Automation Platform 2.6 for RHEL 9RedHatpython3.12-pillow-0:12.2.0-1.el9ap*
Red Hat Satellite 6.16 for RHEL 8RedHatpython-pillow-0:12.2.0-1.el8pc*
Red Hat Satellite 6.16 for RHEL 8RedHatpython-pillow-0:12.2.0-1.el8pc*
Red Hat Satellite 6.16 for RHEL 9RedHatpython-pillow-0:12.2.0-1.el9pc*
Red Hat Satellite 6.16 for RHEL 9RedHatpython-pillow-0:12.2.0-1.el9pc*
Red Hat AI Inference Server 3.3RedHatrhaiis/model-opt-cuda-rhel9:1778244559*
Red Hat AI Inference Server 3.3RedHatrhaiis/vllm-rocm-rhel9:1778244531*
Red Hat AI Inference Server 3.3RedHatrhaiis/vllm-cuda-rhel9:1778274666*
Red Hat AI Inference Server 3.3RedHatrhaiis/vllm-spyre-rhel9:1778244546*
Red Hat Ansible Automation Platform 2.6RedHatansible-automation-platform-26/hub-rhel9:1779761061*
Red Hat Ansible Automation Platform 2.6RedHatansible-automation-platform-26/lightspeed-chatbot-rhel9:1780102732*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/disk-image-cuda-rhel9:1778690639*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/bootc-aws-cuda-rhel9:1778677633*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/bootc-azure-cuda-rhel9:1778677632*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/bootc-azure-rocm-rhel9:1778677745*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/bootc-cuda-rhel9:1778666122*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/bootc-gcp-cuda-rhel9:1778677632*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/bootc-rocm-rhel9:1778666124*
Red Hat OpenShift AI 2.25RedHatrhoai/odh-caikit-tgis-serving-rhel9:1780388133*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1778677779*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1778677692*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1778262893*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1778677701*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1778677741*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1778677767*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-training-cuda128-torch29-py312-rhel9:1779123334*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-training-rocm64-torch29-py312-rhel9:1778263128*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1778782933*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1778677718*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1778677716*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1778263054*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1778677734*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1778677667*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1778677717*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1778677722*
Red Hat Quay 3.1RedHatquay/quay-rhel8:1779822261*
Red Hat Quay 3.12RedHatquay/quay-rhel8:1779811412*
Red Hat Quay 3.14RedHatquay/quay-rhel8:1779689392*
Red Hat Quay 3.15RedHatquay/quay-rhel8:1780891395*
Red Hat Quay 3.16RedHatquay/quay-rhel9:1779204086*
Red Hat Quay 3.17RedHatquay/quay-rhel9:1779922205*
Red Hat Quay 3.9RedHatquay/quay-rhel8:1779811473*
PillowUbuntudevel*
PillowUbuntuquesting*
PillowUbunturesolute*
PillowUbuntuupstream*

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References