Alpine: multiple py3-pillow packages: security update to 12.3.0-r0

medium Tenable Cloud Security Plugin ID 499288

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph
dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling
Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation.
This issue is fixed in version 12.3.0. (CVE-2026-54059)

- Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-
glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling
Image._decompression_bomb_check(), allowing a font to trigger excessive allocation during conversion or
saving. This issue is fixed in version 12.3.0. (CVE-2026-54060)

- Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and
height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling
Image._decompression_bomb_check(), bypassing Pillow's documented decompression bomb protection and
allowing excessive memory allocation. This issue is fixed in version 12.3.0. (CVE-2026-55379)

- Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image
dimensions from the GD 2.x header and stored them in self._size without calling
Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap allocation when
loaded. This issue is fixed in version 12.3.0. (CVE-2026-55380)

- Pillow is a Python imaging library. Prior to 12.3.0, WindowsViewer.get_command() constructed a cmd.exe
shell command by directly embedding a file path into an f-string without escaping and passed the result to
subprocess.Popen(..., shell=True), allowing shell metacharacters in the file path to inject arbitrary
cmd.exe commands. This issue is fixed in version 12.3.0. (CVE-2026-55798)

Solution

Update the py3-pillow library and its related packages to version 12.3.0-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-54059

https://security.alpinelinux.org/vuln/CVE-2026-54060

https://security.alpinelinux.org/vuln/CVE-2026-55379

https://security.alpinelinux.org/vuln/CVE-2026-55380

https://security.alpinelinux.org/vuln/CVE-2026-55798

Plugin Details

Severity: Medium

ID: 499288

Version: Revision 1.2

Type: Local

Published: 12/4/2026

Updated: 12/4/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 92.99

CVSS v2

Risk Factor: Low

Base Score: 3.7

Temporal Score: 2.9

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

CVSS Score Source: CVE-2026-55798

CVSS v3

Risk Factor: Medium

Base Score: 4.5

Temporal Score: 4.1

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 7/6/2026

Reference Information

CVE: CVE-2026-54059, CVE-2026-54060, CVE-2026-55379, CVE-2026-55380, CVE-2026-55798