---
schema_version: '1.0'
id: security-20261028-6324e3
title: CVE-2026-96642 — pillow
url: https://osv.dev/vulnerability/PYSEC-2026-4341
url_hash: 6324e3d0e033dd2c9d64cfba8dcc38adc17d9850bb700ebb12dc839b8565f68e
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-4341
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-96642
- PYSEC-2026-4341
- 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:32Z'
fetched_at: '2026-10-28T12:20:31.136454Z'
updated_at: '2026-10-28T15:41:02Z'
status: published
content_hash: 457ea09ad6b2594438bc78b8777ba6c391d3ea007dd71503b9c24824b8e4b6ce
content_changed_at: null
license_note: full
summary: Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer
  in src/PIL/TarIO.py accepts a negative octal member size and computes a backward
  seek that returns to the same 512-byte header. When the requested member name does
  not match, the parser repeatedly reads th
summary_source: rss
summary_en: Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer
  in src/PIL/TarIO.py accepts a negative octal member size and computes a backward
  seek that returns to the same 512-byte header. When the requested member name does
  not match, the parser repeatedly reads th
summary_omitted_reason: null
redistribution: true
keywords_en:
- cve
- CVE-2026-96642
- library vulnerability
- pillow
- PyPI
- PyPIのBrotliパッケージ
- PYSEC-2026-4341
- 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:59Z'
---

# CVE-2026-96642 — pillow

## TL;DR
Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte header. When the requested member name does not match, the parser repeatedly reads th

## Key Points
- cve / CVE-2026-96642 / PYSEC-2026-4341 / 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-4341 (CVE-2026-96642)

**Details:**
Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte header. When the requested member name does not match, the parser repeatedly reads that header, consumes a full CPU core, and never returns. TarIO is reached only when an application directly uses PIL.TarIO.TarIO rather than the default Image.open() path. 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-3j72-p6qg-6xp7
- https://github.com/python-pillow/Pillow/pull/10012
- https://github.com/python-pillow/Pillow/commit/19b695fdcc5eddc37374e2b1645fc4185edaf71d

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

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