Function Call With Incorrect Argument Type in Pillow - CVE-2026-112902

 

Function Call With Incorrect Argument Type in Pillow - CVE-2026-112902

Published: November 3, 2026


Vulnerability identifier: #VU158897
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-112902
CWE-ID: CWE-686
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive process memory or cause a denial of service.

The vulnerability exists due to incorrect argument types passed to TIFFSetField() in Pillow's PyImaging_LibTiffEncoderNew() function when re-encoding images as TIFF through libtiff. A remote attacker can supply an image containing crafted TIFF tags that cause libtiff to interpret scalar values as pointers or byte counts, copying process memory into the output image or crashing the process.

Preserving metadata with tiffinfo=im.tag_v2 allows a 64-bit ActiveArea entry to trigger a 16-byte read from an attacker-chosen address.


Affected software

Pillow

How to mitigate CVE-2026-112902

Install security update from vendor's website.

Pillow - update to 13.0.0

External References

Related Security Bulletins