Lucene search
+L

EulerOS 2.0 SP15 : python-pillow (EulerOS-SA-2026-4009)

🗓️ 08 Oct 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 4 Views

Multiple vulnerabilities in python-pillow allow memory exhaustion and heap corruption.

Related
Refs
Code
ReporterTitlePublishedViews
Family
ibm
IBM Security Bulletins
Security Bulletin: IBM Maximo Application Suite - Visual Inspection component uses Pillow which is vulnerable to CVE-2026-54058, CVE-2026-59197, CVE-2026-59198, CVE-2026-59199, CVE-2026-59200, CVE-2026-59203, CVE-2026-59204, CVE-2026-59205
29 Sep 202614:53
–ibm
ibm
IBM Security Bulletins
Security Bulletin: Multiple Vulnerabilities in IBM Concert Operate / IBM Cloud Pak for AIOps
26 Aug 202613:13
–ibm
ibm
IBM Security Bulletins
Security Bulletin: Multiple security vulnerabilities are addressed with IBM Process Mining Interim Fix for July 2026
31 Jul 202611:07
–ibm
ibm
IBM Security Bulletins
Security Bulletin: IBM Maximo Application Suite - Monitor Component uses multiple dependencies which are vulnerable to multiple CVEs.
30 Jul 202615:30
–ibm
ibm
IBM Security Bulletins
Security Bulletin: IBM Edge Data Collector uses multiple dependencies which are vulnerable to multiple CVEs.
30 Jul 202615:32
–ibm
ibm
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities in IBM watsonx Orchestrate Developer Edition
29 Sep 202614:40
–ibm
ibm
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities addressed in IBM watsonx.governance, IBM AI Factsheets, and IBM Watson OpenScale
29 Sep 202607:08
–ibm
ibm
IBM Security Bulletins
Security Bulletin: Vulnerability in Pillow affects IBM watsonx Assistant Cartridge and IBM watsonx Orchestrate with watsonx Assistant Cartridge.
25 Aug 202618:06
–ibm
ibm
IBM Security Bulletins
Security Bulletin: IBM Guardium Data Security Center is affected by multiple vulnerabilities
31 Aug 202615:32
–ibm
attackerkb
attackerkb
CVE-2026-55798
6 Jul 202618:44
–attackerkb
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(363983);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/10/08");

  script_cve_id(
    "CVE-2026-54059",
    "CVE-2026-54060",
    "CVE-2026-55379",
    "CVE-2026-55380",
    "CVE-2026-55798",
    "CVE-2026-59197",
    "CVE-2026-59198",
    "CVE-2026-59199",
    "CVE-2026-59200",
    "CVE-2026-59204",
    "CVE-2026-59205"
  );

  script_name(english:"EulerOS 2.0 SP15 : python-pillow (EulerOS-SA-2026-4009)");

  script_set_attribute(attribute:"synopsis", value:
"The remote EulerOS host is missing multiple security updates.");
  script_set_attribute(attribute:"description", value:
"According to the versions of the python-pillow packages installed, the EulerOS installation on the remote host is
affected by the following vulnerabilities :

    Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its
    packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap
    bytes to be copied into the generated TGA file. This issue is fixed in version 12.3.0.(CVE-2026-59198)

    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. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in
    PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding
    the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small
    file. This issue is fixed in version 12.3.0.(CVE-2026-59200)

    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, Pillow's ImageCms.ImageCmsTransform.apply(im, imOut)
    API can trigger controlled native heap corruption when the caller supplies an output image whose mode does
    not match the transform's declared output mode. This issue is fixed in version 12.3.0.(CVE-2026-59205)

    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, Pillow's public rank-filter API can trigger a native
    heap out-of-bounds write when given a very large odd filter size because ImageFilter.RankFilter.filter()
    calls image.expand(size // 2, size // 2) before rank-filter size validation and ImagingExpand() computes
    output dimensions with unchecked signed int arithmetic. This issue is fixed in version
    12.3.0.(CVE-2026-59197)

    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)

    Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates
    total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a
    crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory
    failures during decoding. This issue is fixed in version 12.3.0.(CVE-2026-59204)

    Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a
    native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in
    Image.paste(), Image.crop(), or Image.alpha_composite(). This issue is fixed in version
    12.3.0.(CVE-2026-59199)

    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)

Tenable has extracted the preceding description block directly from the EulerOS python-pillow security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2026-4009
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c7613ffe");
  script_set_attribute(attribute:"solution", value:
"Update the affected python-pillow packages.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N");
  script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:P");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-59198");
  script_set_attribute(attribute:"cvss4_score_source", value:"CVE-2026-59204");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/07/06");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/10/08");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/10/08");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:python3-pillow");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:python3-pillow-help");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:2.0");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Huawei Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/EulerOS/release", "Host/EulerOS/rpm-list", "Host/EulerOS/sp");
  script_exclude_keys("Host/EulerOS/uvp_version");

  exit(0);
}

include("rpm.inc");

if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);

var _release = get_kb_item("Host/EulerOS/release");
if (isnull(_release) || _release !~ "^EulerOS") audit(AUDIT_OS_NOT, "EulerOS");
var uvp = get_kb_item("Host/EulerOS/uvp_version");
if (_release !~ "^EulerOS release 2\.0(\D|$)") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP15");

var sp = get_kb_item("Host/EulerOS/sp");
if (isnull(sp) || sp !~ "^(15)$") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP15");

if (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, "EulerOS 2.0 SP15", "EulerOS UVP " + uvp);

if (!get_kb_item("Host/EulerOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);

var cpu = get_kb_item("Host/cpu");
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "aarch64" >!< cpu && "x86" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "EulerOS", cpu);
if ("aarch64" >!< cpu) audit(AUDIT_ARCH_NOT, "aarch64", cpu);

var flag = 0;

var pkgs = [
  "python3-pillow-10.3.0-1.h21510.8.eulerosv2r15",
  "python3-pillow-help-10.3.0-1.h21510.8.eulerosv2r15"
];

foreach (var pkg in pkgs)
  if (rpm_check(release:"EulerOS-2.0", sp:"15", reference:pkg)) flag++;

if (flag)
{
  security_report_v4(
    port       : 0,
    severity   : SECURITY_HOLE,
    extra      : rpm_report_get()
  );
  exit(0);
}
else
{
  var tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, "python-pillow");
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Oct 2026 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 3.17.5 - 8.2
CVSS 48.7
EPSS0.00445
SSVC
4