---
schema_version: '1.0'
id: security-20261028-0c174f
title: CVE-2026-112398 — pillow
url: https://osv.dev/vulnerability/PYSEC-2026-4330
url_hash: 0c174f93c8fe0483866cbdc27607d3b83ee0db56682a92027ca1ea6b3e385d60
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-4330
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-112398
- PYSEC-2026-4330
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- pillow
- PyPI
lang: en
published_at: '2026-10-19T22:17:07Z'
fetched_at: '2026-10-28T12:20:31.091295Z'
updated_at: '2026-10-28T15:41:01Z'
status: published
content_hash: 64dc4185f994969484e5daa2d28be67f743891081886b1d52b0c85e2a6d01a0b
content_changed_at: null
license_note: full
summary: Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile
  decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX)
  JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized
  JPEG mode can be decoded as JCS_
summary_source: rss
summary_en: Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix
  JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer.
  FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while
  an unrecognized JPEG mode can be decoded as JCS_
summary_omitted_reason: null
redistribution: true
keywords_en:
- cve
- CVE-2026-112398
- library vulnerability
- pillow
- PyPI
- PyPIのBrotliパッケージ
- PYSEC-2026-4330
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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:47Z'
---

# CVE-2026-112398 — pillow

## TL;DR
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode can be decoded as JCS_

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

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

**Details:**
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode can be decoded as JCS_UNKNOWN with four components, causing ImagingJpegDecode to write four-component scanlines into the two-byte tile buffer. An attacker can supply a crafted OLE2 FlashPix file to an application with the optional olefile dependency installed that opens or thumbnails untrusted input. This can corrupt heap memory and may allow arbitrary code execution. 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/242a059aedc1935097d9aa1dc3f099750467ba75
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-5x8w-8jj5-q52h

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

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