Buffer Underflow Affecting python3.12-pillow package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.44% (37th 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-RHEL10-PYTHON312PILLOW-21264591
  • published20 Oct 2026
  • disclosed19 Oct 2026

Introduced: 19 Oct 2026

NewCVE-2026-112397  (opens in a new tab)
CWE-124  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 python3.12-pillow.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12-pillow package and not the python3.12-pillow package as distributed by RHEL. See How to fix? for RHEL:10 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