---
schema_version: '1.0'
id: security-20261028-af6529
title: CVE-2026-112403 — pillow
url: https://osv.dev/vulnerability/PYSEC-2026-4332
url_hash: af652946009b36f7fe987b435f1774034986d1f784400ff66df8e12a6d20fd9a
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-4332
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-112403
- PYSEC-2026-4332
- 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.101166Z'
updated_at: '2026-10-28T15:41:01Z'
status: published
content_hash: 611a5da834c49660a885242528e0539ccead8020a0d4e15fb1e7abcf0b9e2714
content_changed_at: null
license_note: full
summary: Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder
  can write a full-width scanline into a buffer sized for a requested draft scale.
  ImagingJpegDecode does not verify libjpeg's actual output width and component count
  after scaling is requested, and an 8-bit
summary_source: rss
summary_en: Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder
  can write a full-width scanline into a buffer sized for a requested draft scale.
  ImagingJpegDecode does not verify libjpeg's actual output width and component count
  after scaling is requested, and an 8-bit
summary_omitted_reason: null
redistribution: true
keywords_en:
- cve
- CVE-2026-112403
- library vulnerability
- pillow
- PyPI
- PyPIのBrotliパッケージ
- PYSEC-2026-4332
- 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-112403 — pillow

## TL;DR
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit

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

**Details:**
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input. 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-8g5g-8vmr-9782

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

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