Skip to content
Medium 7.1

Pillowで細工されたPNG画像によりサービス拒否の恐れ

CVE-2026-96643 First seen on SecPulse

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

PackageAffected → Fixed
python-pillowPillow —
pipPillow
< 13.0.0→ 13.0.0
PyPIpillow
≥ 11.0.0, < 13.0.0→ 13.0.0
Bitnamipillow
≥ 11.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.

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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details