---
schema_version: '1.0'
id: security-20261028-f6550e
title: CVE-2026-112901 — pillow
url: https://osv.dev/vulnerability/PYSEC-2026-4335
url_hash: f6550ea1a64fcbb011dc4d7e12e2d81c839fd7a8b7ebcee6ee980d0e39511eb7
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-4335
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-112901
- PYSEC-2026-4335
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- pillow
- PyPI
lang: en
published_at: '2026-10-19T22:17:10Z'
fetched_at: '2026-10-28T12:20:31.114611Z'
updated_at: '2026-10-28T15:41:02Z'
status: published
content_hash: 93db1ce9ac63ff388128ce9d68c0ce8d58866adc59fd937732fc7e4afb2a6888
content_changed_at: null
license_note: full
summary: 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 th
summary_source: rss
summary_en: 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 th
summary_omitted_reason: null
redistribution: true
keywords_en:
- cve
- CVE-2026-112901
- library vulnerability
- pillow
- PyPI
- PyPIのBrotliパッケージ
- PYSEC-2026-4335
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Shay McVeigh
- software security
entities_en:
- name: PyPIのBrotliパッケージ
  type: organization
- name: Shay McVeigh
  type: person
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: Shay McVeigh
  type: person
- name: PyPIのBrotliパッケージ
  type: organization
key_facts: []
related: []
related_auto: []
computed_at: '2026-10-28T15:40:53Z'
---

# CVE-2026-112901 — pillow

## TL;DR
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 th

## Key Points
- cve / CVE-2026-112901 / PYSEC-2026-4335 / severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H / pillow / PyPI

## Details
**Severity:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
**Advisory:** PYSEC-2026-4335 (CVE-2026-112901)

**Details:**
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.

**References:**
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0
- https://github.com/python-pillow/Pillow/commit/2852a3e3d568997ddec745fc800991f138878f4b
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-xgh8-jp6q-p5x8

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2026-4335_

## Source
元記事: [CVE-2026-112901 — pillow](https://osv.dev/vulnerability/PYSEC-2026-4335) — published 2026-10-19T22:17:10Z
