Vulnerability
CVE-2026-112901
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's 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.
58 advisories report this vulnerability, across 9 ecosystems.
Advisories
-
ALAS2-2026-4075
Amazon Linux 2 2017.12 - ALAS2-2026-4075: important priority package update for python-pillow
-
ALAS2023-2026-3411
Amazon Linux 2023 - ALAS2023-2026-3411: Important priority package update for python-pillow
- CGA-2vr4-mh9v-3m4f
- CGA-2wmj-cm5q-vq32
- CGA-2xgw-36r9-cf2h
- CGA-32gh-c2qq-pw74
- CGA-3j3j-vpm5-9qcw
- CGA-3p3m-ppx4-7jwx
- CGA-3rvp-8xpw-5q5c
- CGA-46v6-j8gp-pf3v
- CGA-4793-cj67-6859
- CGA-4qwh-2w35-rf6j
- CGA-4xq5-fmcm-5gf3
- CGA-6r46-7p9v-w6vm
- CGA-7h94-r9rc-w9f2
- CGA-85mg-pr3c-9p3h
- CGA-8h35-rg37-5fj5
- CGA-8jcc-gwqv-27wj
- CGA-9fr7-grc6-gqc7
- CGA-9g9v-f5hq-46qh
- CGA-c9vv-qfv6-f3c9
- CGA-f724-9pwp-hwgp
- CGA-fc9f-xg7x-g954
- CGA-g4jm-59vf-wx8g
- CGA-g4wc-jg22-hq2w
- CGA-h2jr-r64h-qvrc
- CGA-h592-jqm6-q34r
- CGA-h927-vjhp-746h
- CGA-jfhw-78jc-x6jv
- CGA-m5wv-rh2j-23wh
- CGA-m6jx-p35c-jch6
- CGA-mrvp-rhgf-j757
- CGA-mvf6-6qx6-3xw3
- CGA-pmmg-6f2v-f26f
- CGA-pp57-8mf7-qq6q
- CGA-q99x-q54m-grhc
- CGA-qq9x-4j9m-v4w8
- CGA-r49r-mmg5-pv7x
- CGA-rf7c-jj3x-3c6w
- CGA-rhqg-8h5v-8gv4
- CGA-x2gq-v3hr-vf6w
- CGA-x88f-x8jv-5396
- CGA-xcqj-6h25-346w
- CGA-xj2p-4vw5-p985
- CGA-xmc5-6f8f-gr24
- CGA-xxfq-h32x-rx37
-
DEBIAN-CVE-2026-112901
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's 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…
-
GHSA-xgh8-jp6q-p5x8
Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes
-
PYSEC-2026-4335
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's 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…
-
RHVEX-CVE-2026-112901
pillow: Pillow: Denial of Service via crafted XBM image header
-
SUSE-SU-2026:24656-1
Security update for python-Pillow
-
SUSE-SU-2026:24701-1
Security update for python-Pillow
-
SUSE-SU-2026:5038-1
Security update for python-Pillow
-
SUSE-SU-2026:5194-1
Security update for python-Pillow
-
UBUNTU-CVE-2026-112901
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's 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…
-
USN-9064-1
pillow vulnerabilities
-
openSUSE-SU-2026:22246-1
Security update for python-Pillow
-
openSUSE-SU-2026:22301-1
Security update for python-Pillow