CVE-2026-112897
8.7HighPublished Oct 19, 2026 · NVD status: Undergoing Analysis · AI triage by gemini-3.8-flash
High
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on confidentiality
- Weakness
- CWE-908
What an attacker gets
Remote attackers can read uninitialized heap memory by submitting crafted TIFF images to services that parse and return or re-encode them. They need only the ability to supply an image file to an affected endpoint.
Root cause
Pillow fails to zero out unwritten tail bytes in decode buffers after short decodes by libtiff, leaking residual heap data into the resulting pixel output.
Affected versions
Pillow 5.3.0 through 12.x (before 13.0.0)
CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix & remediation
Upgrade Pillow to version 13.0.0 or later. If upgrading immediately is not possible, block or reject untrusted TIFF uploads at your application ingress.
$ pip install --upgrade 'Pillow>=13.0.0'AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
Pillow is a Python imaging library. From 5.3.0 until 13.0.0, Pillow can return uninitialized memory as pixels when libtiff performs a short decode of JPEG-compressed or Group 4 fax TIFF data. The _decodeStrip and _decodeTile buffers can be larger than the bytes written by libtiff, but Pillow converts the expected rows without clearing the unwritten tail. The tile path is affected from 5.3.0 and the strip path from 6.0.0. An attacker can supply a crafted TIFF to an application that loads and returns or re-encodes its pixels. This can disclose stale heap contents without memory corruption or a process crash. This issue is fixed in version 13.0.0.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1387027.5HighRemote attackers can crash the application by exhausting server memory. This requires the application to expose Grid aggregate operations to untrusted users.
- CVE-2026-1378567.5HighUnauthenticated attackers can crash the Zimbra mailbox service and exhaust disk space via log amplification. This requires network access to the GraphQL endpoint.
- CVE-2026-1328287.4HighAttackers can intercept or modify sensitive data like credentials and request bodies in transit. This happens when the component incorrectly downgrades HTTPS requests to cleartext HTTP if TLS parameters are missing.
- CVE-2026-1266357.5HighUnauthenticated attackers can steal backend authentication credentials by observing HTTP response headers. This occurs when the OData component leaks configured Basic or Bearer tokens back to the client.
- CVE-2026-936489.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in a user's browser by sending a crafted iCalendar invitation. This allows the attacker to steal mailbox data and perform actions as the logged-in user.
- CVE-2026-936469.8CriticalUnauthenticated attackers can execute arbitrary commands as the zimbra user. They only need network access to the Zimbra server to exploit the flawed token authorization.