---
title: "CVE-2026-112397"
canonical_url: "https://pkgseek.com/security/CVE-2026-112397"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-112397

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's ImageMorph.MorphOp.apply() can access memory before a row buffer for a zero-width image. PPM and PGM input can create an image with width zero, and the native morphology routine indexes outrow\[width - 1\] without rejecting that geometry. An attacker can supply such an image to an application that applies a morphology operation. This can crash the process. This issue is fixed in version 13.0.0.

CVE-2026-112397 严重级别为 HIGH (7.5)，共索引 9 条受影响软件包构建记录，涉及 4 个发行版。

- **级别 / 评分**: HIGH (7.5)
- **受影响构建数**: 9
- **涉及发行版**: 4
- **已标明修复版本发行版**: Alibaba Cloud Linux, Oracle Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | python3-pillow | 5.1.1-23.al8 | 5.1.1-36.al8 |
| Debian | trixie | python3-pil | 11.1.0-5+deb13u4 | — |
| Debian | trixie | python3-pil.imagetk | 11.1.0-5+deb13u4 | — |
| Debian | trixie | python-pil-doc | 11.1.0-5+deb13u4 | — |
| Oracle Linux | 8 | python3-pillow | 5.1.1-23.el8_10 | 5.1.1-33.el8_10 |
| Ubuntu | jammy | python3-pil | 9.0.1-1build1 | — |
| Ubuntu | jammy | python-pil-doc | 9.0.1-1build1 | — |
| Ubuntu | noble | python3-pil | 10.2.0-1build1 | — |
| Ubuntu | noble | python-pil-doc | 10.2.0-1build1 | — |
