CVE Vulnerabilities

CVE-2026-96638

Uncontrolled Resource Consumption

Published: Oct 21, 2026 | Modified: Oct 28, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

Pillow is a Python imaging library. From 9.1.0 until 13.0.0, BmpRleDecoder.decode() in src/PIL/BmpImagePlugin.py permits crafted RLE BMP delta escapes and absolute-mode runs to append beyond the remaining dest_length without a per-branch cap. A delta can add roughly 255 image rows in one iteration, so a kilobyte-sized file with a large but permitted width can expand the data bytearray to hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.

Weakness

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

Affected Software

NameVendorStart VersionEnd Version
PillowPython9.1.0 (including)13.0.0 (excluding)
Red Hat AI Inference Server 3.2RedHatrhaiis/vllm-rocm-rhel9:1793961846*
Red Hat AI Inference Server 3.2RedHatrhaiis/model-opt-cuda-rhel9:1793962303*
Red Hat AI Inference Server 3.2RedHatrhaiis/vllm-cuda-rhel9:1793961309*
Red Hat AI Inference Server 3.5RedHatrhaii/vllm-cpu-rhel9:1793444554*
Red Hat AI Inference Server 3.5RedHatrhaii/vllm-rocm-rhel9:1793444456*
Red Hat AI Inference Server 3.5RedHatrhaii/model-opt-cuda-rhel9:1793444339*
Red Hat AI Inference Server 3.5RedHatrhaii/vllm-spyre-rhel9:1793444409*
Red Hat AI Inference Server 3.5RedHatrhaii/vllm-gaudi-rhel9:1793444510*
Red Hat AI Inference Server 3.5RedHatrhaii/vllm-cuda-rhel9:1793444600*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/disk-image-cuda-rhel9:1793995863*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-aws-cuda-rhel9:1793973314*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-azure-cuda-rhel9:1793973314*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-azure-rocm-rhel9:1793973314*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-cuda-rhel9:1793914518*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-gcp-cuda-rhel9:1793973312*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-rocm-rhel9:1793914504*
PillowUbuntudevel*
PillowUbuntunoble*
PillowUbunturesolute*
PillowUbuntustonking*
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