CVE-2026-112901
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's XBM …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/python-pillow/Pillow/commit/2852a3e3d568997ddec745fc800991f138878f4b
- github.com/python-pillow/Pillow/releases/tag/13.0.0
- github.com/python-pillow/Pillow/security/advisories/GHSA-xgh8-jp6q-p5x8
- nvd.nist.gov/vuln/detail/CVE-2026-112901
- github.com/advisories/GHSA-xgh8-jp6q-p5x8
- nvd.nist.gov/vuln/detail/CVE-2026-112901
- cve.org/CVERecord?id=CVE-2026-112901
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.