## Pillow: MSP RLE decoder expands a tiny file into unbounded memory

- 種別: advisory
- 重大度: high
- 関連技術: python
- CVE: CVE-2026-112892
- 公開日時: 2026-10-21T21:12:56.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-gg2r-wvfm-q9rx)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-gg2r-wvfm-q9rx

影響: pip:pillow >= 4.1.0, < 13.0.0 → 13.0.0
The MSP RLE decoder expands run-length data into an in-memory buffer with no cap tied to the declared image size. A small file that passes the pixel-count check can force hundreds of megabytes or more of allocation when the application loads pixels. Details The MSP decoder writes each run into an unbounded io.BytesIO and can expand roughly 85x per run: - src/PIL/MspImagePlugin.py:144-146 Impact Memory-exhaustion denial of service from a tiny crafted image in any application that loads pixels. T…