CVE Vulnerabilities

CVE-2026-112901

Inefficient Regular Expression Complexity

Published: Oct 19, 2026 | Modified: Oct 27, 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
5.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

Pillow is a Python imaging library. Prior to 13.0.0, Pillows XBM header parser is vulnerable to regular-expression denial of service. In XbmImageFile._open, when an application calls Image.open() on a small crafted XBM file, XbmImagePlugin applies a backtracking expression to the attacker-controlled header before image dimensions are accepted, stalling a worker for minutes and denying service. This issue is fixed in version 13.0.0.

Weakness

The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

Affected Software

NameVendorStart VersionEnd Version
PillowPython*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*
PillowUbuntuesm-infra-legacy/trusty*
PillowUbuntuesm-infra-legacy/xenial*
PillowUbuntuesm-infra/bionic*
PillowUbuntuesm-infra/focal*
PillowUbuntujammy*
PillowUbuntunoble*
PillowUbunturesolute*
PillowUbuntustonking*
PillowUbuntuupstream*

Potential Mitigations

References