Technical impact
The Pillow library’s libtiff TIFF encoder can forward tag values that do not match the expected type when calling TIFFSetField, which may cause invalid memory reads. These reads can copy arbitrary process memory into the encoded TIFF output, leading to disclosure of sensitive data, or trigger a crash of the application. If an attacker supplies crafted image metadata that the application re‑saves and returns to the user, memory contents can be leaked and the service can be destabilized.
Affected Systems
Python Pillow images processed by applications that handle TIFF images are affected when using any Pillow version up to and including 12.3.0. Versions 13.0.0 and later contain the fix and are not vulnerable.
Risk and Exploitability
With a CVSS score of 8.3 the vulnerability is considered high severity. EPSS information is not available, and the issue is not listed in the CISA KEV catalog. The attack most likely requires the attacker to supply a malicious image to an application that re‑encodes and serves it back. Successful exploitation would allow memory disclosure and potentially cause a denial‑of‑service through process crash.
Github GHSA