Pillowで細工されたPNG画像によりサービス拒否の恐れ
Summary
Pillowは、PNG画像のeXIfチャンクを細工すると、EXIF情報の解析に極端に長い時間がかかる脆弱性です。影響を受けるのは11.0.0から13.0.0までのバージョンで、画像アップロード時の回転処理などを通じて処理が止まり、サービス拒否につながるおそれがあります。13.0.0で修正されているため、Pillowを13.0.0以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Pillowは、PNG画像のeXIfチャンクを細工すると、EXIF情報の解析に極端に長い時間がかかる脆弱性です。影響を受けるのは11.0.0から13.0.0までのバージョンで、画像アップロード時の回転処理などを通じて処理が止まり、サービス拒否につながるおそれがあります。13.0.0で修正されているため、Pillowを13.0.0以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| python-pillowPillow | — | Not listed |
| pipPillow |
< 13.0.0→ 13.0.0 |
13.0.0 |
| PyPIpillow |
≥ 11.0.0, < 13.0.0→ 13.0.0 |
13.0.0 |
| Bitnamipillow |
≥ 11.0.0, < 13.0.0→ 13.0.0 |
13.0.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-96643 pillow Fix available
- Ubuntu UBUNTU-CVE-2026-96643 pillow Fix available
Original description The description as published by the source.
Pillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with the six-byte Exif header. src/PIL/PngImagePlugin.py accepts an uncapped PNG eXIf chunk, so a file filled with repeated headers causes a new shrinking copy on every iteration and quadratic CPU work. The condition is reachable through Image.getexif(), Image._getexif(), and ImageOps.exif_transpose(), including common photo-upload rotation workflows. This issue is fixed in version 13.0.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com