Skip to content
High 8.7

Pillowに細工した画像で大量のメモリを消費させられる脆弱性

CVE-2026-128066 First seen on SecPulse

Summary

細工したTIFFやEXIF付きのJPEG・PNG・WebP・MPOを処理させると、メモリを大量に消費させられる脆弱性です。対象は1.0から12.3.0までのPillowで、修正版は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.

細工したTIFFやEXIF付きのJPEG・PNG・WebP・MPOを処理させると、メモリを大量に消費させられる脆弱性です。対象は1.0から12.3.0までのPillowで、修正版は13.0.0です。Pillowで外部から受け取った画像を扱うシステムは、13.0.0以降へ更新してください。

Affected packages

PackageAffected → Fixed
python-pillowPillow —
pipPillow
< 13.0.0→ 13.0.0
PyPIpillow
< 13.0.0→ 13.0.0
Bitnamipillow
≥ 1.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 1.0 through 12.3.0, ImageFileDirectory_v2.load() in src/PIL/TiffImagePlugin.py retains a separate bytes object for each out-of-line IFD tag value without limiting the total data read or preventing distinct tags from referencing the same file region. A small crafted TIFF or EXIF-bearing JPEG, PNG, WebP, or MPO can therefore cause memory use quadratic in the input size. TIFF and some JPEG paths trigger parsing during Image.open(), while other formats are exposed when EXIF is requested, including through getexif() or ImageOps.exif_transpose(). The declared pixel dimensions do not bound this metadata allocation, so decompression-bomb checks do not prevent process memory exhaustion. 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