CVE-2026-112395
HIGH 8.2CVSS 3.1Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)
Pillow is a Python imaging library. From 8.2.0 until 13.0.0, Pillow's tiled-TIFF decoder can read past the tile buffer while copying four-byte pixels. In _decodeTile, libtiff can return a tile allocation smaller than the required row stride multiplied by the tile length, and Pillow's stride-and-copy loop walks beyond that allocation. An attacker can supply a crafted tiled TIFF to an application that loads it. This can expose adjacent heap data in pixels or crash the process. This issue is fixed in version 13.0.0.
- Published
- 19 Oct 2026
- Last modified
- 28 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-122
- Also known as
- BIT-pillow-2026-112395GHSA-462x-pgg6-55fp
- Sources
- NVDJSONOSV GHSA-462x-pgg6-55fpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pillowcpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* |
>= 8.2.0, < 13.0.0 | 13.0.0 |
| OSV | PyPI | pillow | >= 8.2.0, < 13.0.0 | 13.0.0 |
References
- https://github.com/python-pillow/Pillow/commit/76869efdbbf2ad7dccd7536520fb61b7a00ab61e · Patch, WEB
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 · Release Notes, WEB
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-462x-pgg6-55fp · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-112395 · ADVISORY
- https://github.com/python-pillow/Pillow · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 19 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Oct 2026)