Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.4
Pillow up to 13 can corrupt memory when saving TIFF files
published 2 days ago
Summary
The Python imaging library Pillow versions 2.0.0 through 13.0.0 can overflow memory or expose leftover data when it writes compressed TIFF images to in‑memory objects such as BytesIO. This can cause the application to crash or, in rare cases, let an attacker run code. Upgrade Pillow to version 13.0.0 or later in the listed Docker images (datascience‑notebook, litellm, mlflow, netbox, pytorch‑2.11‑cuda12.8‑python3.11) to resolve the issue.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Debian:13 | docker hardened images | datascience-notebook | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | litellm | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | mlflow | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | netbox | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.11-cuda12.8-python3.11 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.11-cuda12.9-python3.12 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.11-cuda13.0-python3.11 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.13-cuda12.6-python3.11 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.13-cuda13.0-python3.12 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.7-cuda12.8-python3.12 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | pytorch-2.9-cuda12.9-python3.12 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | superset | All versions |
Original advisory text
Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap…
Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. This issue is fixed in version 13.0.0.
References
- https://scout.docker.com/v/DHI-ordy-uhw4-4fdt-qy76 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-112393 Vendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-332p-7hrc-92wf Vendor Advisory
- https://github.com/python-pillow/Pillow/commit/11582e5ffbdceb973d5ee593f3105af5a... Patch
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 URL
- https://errata.almalinux.org/8/ALSA-2026-93077.html Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:93077 Vendor Advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-3411.html Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-96778 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112901 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112900 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112897 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112896 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112894 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112399 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112398 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112393 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112392 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112390 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-112393 Vendor Advisory
- https://github.com/advisories/GHSA-332p-7hrc-92wf Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2026-93077.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2026-93077.html Vendor Advisory
- https://errata.rockylinux.org/RLSA-2026:93077 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-112393 Vendor Advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-112393 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker full control (estimated)
Timeline
Published20 Nov 2026
Updated20 Nov 2026
First seen20 Nov 2026
Sources
DHI-ordy-uhw4-4fdt-qy76 · OSV
Track software like this
Free during beta