NewStart CGSL MAIN 7.02 : libtiff Multiple Vulnerabilities (NS-SA-2026-0088)
10
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from ZTE advisory NS-SA-2026-0088. The text
# itself is copyright (C) ZTE, Inc.
##
include('compat.inc');
if (description)
{
script_id(343590);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/09/08");
script_cve_id(
"CVE-2024-7006",
"CVE-2024-13978",
"CVE-2025-8534",
"CVE-2025-9165",
"CVE-2026-4775"
);
script_xref(name:"IAVA", value:"2026-A-0408");
script_name(english:"NewStart CGSL MAIN 7.02 : libtiff Multiple Vulnerabilities (NS-SA-2026-0088)");
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 7.02, has libtiff packages installed that are affected by multiple
vulnerabilities:
- A flaw has been found in LibTIFF 4.7.0. This affects the function
_TIFFmallocExt/_TIFFCheckRealloc/TIFFHashSetNew/InitCCITTFax3 of the file tools/tiffcmp.c of the component
tiffcmp. Executing manipulation can lead to memory leak. The attack is restricted to local execution. This
attack is characterized by high complexity. It is indicated that the exploitability is difficult. The
exploit has been published and may be used. There is ongoing doubt regarding the real existence of this
vulnerability. This patch is called ed141286a37f6e5ddafb5069347ff5d587e7a4e0. It is best practice to apply
a patch to resolve this issue. A researcher disputes the security impact of this issue, because this is a
memory leak on a command line tool that is about to exit anyway. In the reply the project maintainer
declares this issue as a simple 'bug' when leaving the command line tool and (...) not a security issue
at all. (CVE-2025-9165)
- A null pointer dereference flaw was found in Libtiff via `tif_dirinfo.c`. This issue may allow an attacker
to trigger memory allocation failures through certain means, such as restricting the heap space size or
injecting faults, causing a segmentation fault. This can cause an application crash, eventually leading to
a denial of service. (CVE-2024-7006)
- A vulnerability was found in LibTIFF up to 4.7.0. It has been declared as problematic. Affected by this
vulnerability is the function t2p_read_tiff_init of the file tools/tiff2pdf.c of the component fax2ps. The
manipulation leads to null pointer dereference. The attack needs to be approached locally. The complexity
of an attack is rather high. The exploitation appears to be difficult. The patch is named
2ebfffb0e8836bfb1cd7d85c059cd285c59761a4. It is recommended to apply a patch to fix this issue.
(CVE-2024-13978)
- A vulnerability classified as problematic was found in libtiff 4.6.0. This vulnerability affects the
function PS_Lvl2page of the file tools/tiff2ps.c of the component tiff2ps. The manipulation leads to null
pointer dereference. It is possible to launch the attack on the local host. The complexity of an attack is
rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and
may be used. The name of the patch is 6ba36f159fd396ad11bf6b7874554197736ecc8b. It is recommended to apply
a patch to fix this issue. One of the maintainers explains, that [t]his error only occurs if
DEFER_STRILE_LOAD (defer-strile-load:BOOL=ON) or TIFFOpen( .. rD) option is used. (CVE-2025-8534)
- A flaw was found in the libtiff library. A remote attacker could exploit a signed integer overflow
vulnerability in the putcontig8bitYCbCr44tile function by providing a specially crafted TIFF file. This
flaw can lead to an out-of-bounds heap write due to incorrect memory pointer calculations, potentially
causing a denial of service (application crash) or arbitrary code execution. (CVE-2026-4775)
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-0088");
script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2024-13978");
script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2024-7006");
script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2025-8534");
script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2025-9165");
script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2026-4775");
script_set_attribute(attribute:"solution", value:
"Upgrade the vulnerable CGSL libtiff packages. Note that updated packages may not be available yet. Please contact ZTE
for more information.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:H/Au:S/C:N/I:N/A:P");
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:N/I:N/A:H");
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:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/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-2025-9165");
script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2024-7006");
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:"2024/08/08");
script_set_attribute(attribute:"patch_publication_date", value:"2026/09/07");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/09/08");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:libtiff");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:libtiff-devel");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:libtiff-doc");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:libtiff-tools");
script_set_attribute(attribute:"cpe", value:"cpe:/o:zte:cgsl_main:7");
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\s7\.02")
audit(AUDIT_OS_NOT, 'NewStart CGSL MAIN 7.02');
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 7.02': [
'libtiff-4.7.1-2.zncgsl7',
'libtiff-devel-4.7.1-2.zncgsl7',
'libtiff-doc-4.7.1-2.zncgsl7',
'libtiff-tools-4.7.1-2.zncgsl7'
]
};
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_NOTE,
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, 'libtiff');
}
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 Sep 2026 00:00Current
CVSS 21
CVSS 42
CVSS 3.17.5 - 7.8
CVSS 32.5
EPSS0.01516
SSVC