๐Ÿ” CVE Alert

CVE-2026-112901

UNKNOWN 0.0

Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-1333
Vendor python-pillow
Product pillow
Published Oct 19, 2026
Stay Ahead of the Next One

Get instant alerts for python-pillow pillow

Be the first to know when new unknown vulnerabilities affecting python-pillow pillow are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

python-pillow / Pillow
< 13.0.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/python-pillow/Pillow/security/advisories/GHSA-xgh8-jp6q-p5x8 github.com: https://github.com/python-pillow/Pillow/commit/2852a3e3d568997ddec745fc800991f138878f4b github.com: https://github.com/python-pillow/Pillow/releases/tag/13.0.0