Lucene search
+L

NewStart CGSL MAIN 6.06 : ghostscript Multiple Vulnerabilities (NS-SA-2026-0055)

🗓️ 29 Jul 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 3 Views

Ghostscript vulnerabilities in NewStart CGSL MAIN 6.06 include sandbox escape and remote execution.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from ZTE advisory NS-SA-2026-0055. The text
# itself is copyright (C) ZTE, Inc.
##

include('compat.inc');

if (description)
{
  script_id(330512);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/07/29");

  script_cve_id(
    "CVE-2007-2721",
    "CVE-2008-0411",
    "CVE-2009-0196",
    "CVE-2009-0583",
    "CVE-2009-0584",
    "CVE-2009-0792",
    "CVE-2009-4270",
    "CVE-2010-1628",
    "CVE-2016-7976",
    "CVE-2016-7977",
    "CVE-2016-7978",
    "CVE-2016-7979",
    "CVE-2016-8602",
    "CVE-2016-9601",
    "CVE-2016-10217",
    "CVE-2016-10218",
    "CVE-2016-10219",
    "CVE-2016-10220",
    "CVE-2017-5951",
    "CVE-2017-7207",
    "CVE-2017-7975",
    "CVE-2017-8291",
    "CVE-2018-10194",
    "CVE-2018-16802",
    "CVE-2019-3835",
    "CVE-2019-3838",
    "CVE-2019-6116",
    "CVE-2019-10216",
    "CVE-2019-14811",
    "CVE-2019-14812",
    "CVE-2019-14813",
    "CVE-2019-14817",
    "CVE-2021-3781",
    "CVE-2021-45949",
    "CVE-2023-43115",
    "CVE-2024-29510",
    "CVE-2024-46953",
    "CVE-2024-46956"
  );
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/06/14");
  script_xref(name:"IAVB", value:"2018-B-0056-S");
  script_xref(name:"IAVB", value:"2019-B-0022-S");
  script_xref(name:"IAVB", value:"2019-B-0081-S");
  script_xref(name:"IAVB", value:"2021-B-0055");
  script_xref(name:"IAVB", value:"2023-B-0070-S");
  script_xref(name:"IAVB", value:"2023-B-0097-S");
  script_xref(name:"IAVB", value:"2024-B-0074-S");
  script_xref(name:"IAVB", value:"2024-B-0170-S");

  script_name(english:"NewStart CGSL MAIN 6.06 : ghostscript Multiple Vulnerabilities (NS-SA-2026-0055)");

  script_set_attribute(attribute:"synopsis", value:
"The remote NewStart CGSL host is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote NewStart CGSL host, running version MAIN 6.06, has ghostscript packages installed that are affected by
multiple vulnerabilities:

  - A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter
    by injecting a specially crafted pipe command. This flaw allows a specially crafted document to execute
    arbitrary commands on the system in the context of the ghostscript interpreter. The highest threat from
    this vulnerability is to confidentiality, integrity, as well as system availability. (CVE-2021-3781)

  - The jpc_qcx_getcompparms function in jpc/jpc_cs.c for the JasPer JPEG-2000 library (libjasper) before
    1.900 allows remote user-assisted attackers to cause a denial of service (crash) and possibly corrupt the
    heap via malformed image files, as originally demonstrated using imagemagick convert. (CVE-2007-2721)

  - Stack-based buffer overflow in the zseticcspace function in zicc.c in Ghostscript 8.61 and earlier allows
    remote attackers to execute arbitrary code via a postscript (.ps) file containing a long Range array in a
    .seticcspace operator. (CVE-2008-0411)

  - Heap-based buffer overflow in the big2_decode_symbol_dict function (jbig2_symbol_dict.c) in the JBIG2
    decoding library (jbig2dec) in Ghostscript 8.64, and probably earlier versions, allows remote attackers to
    execute arbitrary code via a PDF file with a JBIG2 symbol dictionary segment with a large run length
    value. (CVE-2009-0196)

  - Multiple integer overflows in icc.c in the International Color Consortium (ICC) Format library (aka
    icclib), as used in Ghostscript 8.64 and earlier and Argyll Color Management System (CMS) 1.0.3 and
    earlier, allow context-dependent attackers to cause a denial of service (heap-based buffer overflow and
    application crash) or possibly execute arbitrary code by using a device file for a translation request
    that operates on a crafted image file and targets a certain native color space, related to an ICC
    profile in a (1) PostScript or (2) PDF file with embedded images. (CVE-2009-0583)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/notice/NS-SA-2026-0055");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2007-2721");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2008-0411");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2009-0196");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2009-0583");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2009-0584");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2009-0792");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2009-4270");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2010-1628");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-10217");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-10218");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-10219");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-10220");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-7976");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-7977");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-7978");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-7979");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-8602");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2016-9601");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-5951");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-7207");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-7975");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2017-8291");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2018-10194");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2018-16802");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2019-10216");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2019-14811");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2019-14812");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2019-14813");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2019-14817");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2019-3835");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2019-3838");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2019-6116");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-3781");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2021-45949");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2023-43115");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2024-29510");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2024-46953");
  script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2024-46956");
  script_set_attribute(attribute:"solution", value:
"Upgrade the vulnerable CGSL ghostscript packages. Note that updated packages may not be available yet. Please contact
ZTE for more information.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2021-3781");

  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:"2007/04/30");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/07/27");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/07/29");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:ghostscript");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:ghostscript-tools-fonts");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:ghostscript-tools-printing");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:libgs");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:zte:cgsl_main:6");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"NewStart CGSL 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_info2.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/ZTE-CGSL/release", "Host/ZTE-CGSL/rpm-list", "Host/cpu");

  exit(0);
}

include('rpm2.inc');

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

var os_release = get_kb_item('Host/ZTE-CGSL/release');
if (isnull(os_release) || os_release !~ "^CGSL (MAIN|CORE)") audit(AUDIT_OS_NOT, 'NewStart Carrier Grade Server Linux');

if (os_release !~ "CGSL\sMAIN\s6\.06")
  audit(AUDIT_OS_NOT, 'NewStart CGSL MAIN 6.06');

if (!get_kb_item('Host/ZTE-CGSL/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$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'NewStart Carrier Grade Server Linux', cpu);

var flag = 0;

var pkgs = {
  'CGSL MAIN 6.06': [
    'ghostscript-9.54.0-11.zncgsl6.t1.0',
    'ghostscript-tools-fonts-9.54.0-11.zncgsl6.t1.0',
    'ghostscript-tools-printing-9.54.0-11.zncgsl6.t1.0',
    'libgs-9.54.0-11.zncgsl6.t1.0'
  ]
};
var pkg_list = pkgs[os_release];
var pkg;
foreach (pkg in pkg_list)
  if (rpm_check(reference:pkg, release:'ZTE ' + os_release, rpm_spec_vers_cmp:TRUE)) 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, 'ghostscript');
}

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

29 Jul 2026 00:00Current
7.7High risk
Vulners AI Score7.7
CVSS 29.3
CVSS 37.3 - 9.8
CVSS 3.17.8 - 9.9
EPSS0.9614
SSVC
3