---
schema_version: '1.0'
id: security-20261028-402e1c
title: CVE-2026-96636 — pillow
url: https://osv.dev/vulnerability/PYSEC-2026-4337
url_hash: 402e1ca6217da253d69febdad0dce10eb25843890d29f2f400aca6471a12c530
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-4337
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-96636
- PYSEC-2026-4337
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- pillow
- PyPI
lang: en
published_at: '2026-10-21T21:20:31Z'
fetched_at: '2026-10-28T12:20:31.122030Z'
updated_at: '2026-10-28T15:41:02Z'
status: published
content_hash: e075a51dff01e5eff44e3f22065095057b68e3f684dcb1ef98eb48ede220f461
content_changed_at: null
license_note: full
summary: Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek()
  and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without
  rerunning Image._decompression_bomb_check(). A crafted multi-frame image can use
  a tiny first frame to pass Image.open()
summary_source: rss
summary_en: Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek()
  and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without
  rerunning Image._decompression_bomb_check(). A crafted multi-frame image can use
  a tiny first frame to pass Image.open()
summary_omitted_reason: null
redistribution: true
keywords_en:
- cve
- CVE-2026-96636
- library vulnerability
- pillow
- PyPI
- PyPIのBrotliパッケージ
- PYSEC-2026-4337
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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:58Z'
---

# CVE-2026-96636 — pillow

## TL;DR
Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek() and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without rerunning Image._decompression_bomb_check(). A crafted multi-frame image can use a tiny first frame to pass Image.open()

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

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

**Details:**
Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek() and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without rerunning Image._decompression_bomb_check(). A crafted multi-frame image can use a tiny first frame to pass Image.open() and then declare an over-limit later frame. Normal frame iteration through seek(), load(), or ImageSequence.Iterator can decode that frame and commit hundreds of megabytes or more, causing memory-exhaustion denial of 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/security/advisories/GHSA-p8hx-v2p6-rp84
- https://github.com/python-pillow/Pillow/pull/10011
- https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48

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

## Source
元記事: [CVE-2026-96636 — pillow](https://osv.dev/vulnerability/PYSEC-2026-4337) — published 2026-10-21T21:20:31Z
