SCA: security update for Pillow (GHSA-g7cr-3p24-7wf7)

high Tenable Self-Hosted Container Security Plugin ID 476842

Description

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

- Pillow is a Python imaging library. From 9.4.0 until 13.0.0, ImagingJpegEncode() in
src/libImaging/JpegEncode.c can call jpeg_write_marker() for a JPEG COM comment when an ICC profile has
exactly filled the 65536-byte encoder buffer. libjpeg writes one byte before checking the exhausted
free_in_buffer counter, which then wraps and permits the attacker-controlled comment and subsequent
compressed image data to overwrite adjacent heap memory. Re-saving an untrusted image as JPEG while
preserving its ICC profile and forwarded comment can crash the process and may enable code execution in
suitable runtime and heap layouts. This issue is fixed in version 13.0.0. (CVE-2026-96778)

Solution

Update the Pillow library and its related packages to version 13.0.0 or later.

See Also

https://github.com/advisories/GHSA-g7cr-3p24-7wf7

Plugin Details

Severity: High

ID: 476842

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/22/2026

Updated: 10/22/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.51

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2026-96778

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

CVSS v4

Risk Factor: High

Base Score: 7.7

Threat Score: 5.2

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/22/2026

Vulnerability Publication Date: 10/21/2026

Reference Information

CVE: CVE-2026-96778

cwe: CWE-787