
Pillow Patch Needed for Integer Overflow Crash in ImageMath Division
A medium-severity vulnerability, CVE-2026-137940, has been disclosed in the Pillow library for Python, affecting versions up to 13.1.0. The flaw involves an integer overflow in the ImageMath division and modulo operators, which can crash applications when processing specific crafted TIFF images. The issue stems from insufficient guarding against a divisor of -1 when the operand is INT32_MIN, leading to a hardware divide exception. While the attack requires local access and user interaction, it poses a high risk to system availability. A fix is expected in a future release, as the current latest stable version on PyPI is 13.0.0, which is also affected.