---
schema_version: '1.0'
id: security-20260714-f7ab82
url: https://osv.dev/vulnerability/PYSEC-2026-2255
url_hash: f7ab82a0a76ce26302aaf1523b3207bcc9ad6bd22986e41b51a550ecde69f59c
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-2255
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-55379
- PYSEC-2026-2255
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- pillow
- PyPI
lang: en
published_at: '2026-07-06T19:17:08Z'
fetched_at: '2026-07-14T06:42:23Z'
updated_at: '2026-07-14T06:43:41Z'
status: published
content_hash: 2672a59501235c4cd804d13b13a27893b766df3d9057dcb243760d8a21b342ea
license_note: full
summary: Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char()
  read the BBX width and height field from a BDF font file and passed attacker-controlled
  dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing
  Pillow's documented de
summary_source: rss
summary_en: Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py
  bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled
  dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing
  Pillow's documented de
entities:
- name: Pillow
  type: artifact
key_facts: []
related: []
related_auto: []
title: CVE-2026-55379 — pillow
---

# CVE-2026-55379 — pillow

## TL;DR
Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented de

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

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

**Affected (your watchlist):**
- `PyPI:pillow` 12.1.1 → fixed in 12.3.0 [docker/docker-llmwiki]
- `PyPI:pillow` 12.2.0 → fixed in 12.3.0 [docker/local+docker/mac]

**Details:**
Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. This issue is fixed in version 12.3.0.

**References:**
- https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst
- https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-45hq-cxwh-f6vc

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

## Source
元記事: [CVE-2026-55379 — pillow](https://osv.dev/vulnerability/PYSEC-2026-2255) — published 2026-07-06T19:17:08Z
