Out-of-bounds Write Affecting python3-pillow package, versions <0:5.1.1-33.el8_10


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.53% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-PYTHON3PILLOW-22099470
  • published31 Oct 2026
  • disclosed19 Oct 2026

Introduced: 19 Oct 2026

CVE-2026-112397  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 python3-pillow to version 0:5.1.1-33.el8_10 or higher.
This issue was patched in RLSA-2026:92639.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-pillow package and not the python3-pillow package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's ImageMorph.MorphOp.apply() can access memory before a row buffer for a zero-width image. PPM and PGM input can create an image with width zero, and the native morphology routine indexes outrow[width - 1] without rejecting that geometry. An attacker can supply such an image to an application that applies a morphology operation. This can crash the process. This issue is fixed in version 13.0.0.

CVSS Base Scores

version 3.1