SCA: security update for pillow (GHSA-5xmw-vc9v-4wf2)

medium Tenable Cloud Security Plugin ID 441121

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Pillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lists as
coordinates to APIs that accept coordinates such as ImagePath.Path, ImageDraw.ImageDraw.polygon and
ImageDraw.ImageDraw.line could cause a heap buffer overflow, as nested lists were recursively unpacked
beyond the allocated buffer. Coordinate lists are now validated to contain exactly two numeric
coordinates. This issue has been patched in version 12.2.0. (CVE-2026-42309)

Solution

Update the pillow library and its related packages to version 12.2.0 or later.

See Also

https://github.com/advisories/GHSA-5xmw-vc9v-4wf2

Plugin Details

Severity: Medium

ID: 441121

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 5/5/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.75

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

CVSS Score Source: CVE-2026-42309

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 1.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/4/2026

Vulnerability Publication Date: 5/4/2026

Reference Information

CVE: CVE-2026-42309

cwe: CWE-122