Pillow: MSP RLE decoder expands a tiny file into unbounded memory
影響: 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…
| CVE | CVE-2026-112892 |
|---|---|
| 来源 | GitHub Advisory Database |
| 获取时间 | 2026/10/22 09:22 |
| 数据 | Markdown JSON |
2026/10/22 06:12,GitHub Advisory Database 发布了“Pillow: MSP RLE decoder expands a tiny file into unbounded memory”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:Python。CVE:CVE-2026-112892。