Vulnerability

CVE-2026-112901

mediumCVSS 4.0 6.9Published 19 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Python pillow

Weakness type

References

  • github.com /python-pillow/Pillow/commit/2852a3e3d568997ddec745fc800991…
  • github.com /python-pillow/Pillow/releases/tag/13.0.0
  • github.com /python-pillow/Pillow/security/advisories/GHSA-xgh8-jp6q-p5…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning