#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(319470);
script_version("1.2");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/06/08");
script_cve_id(
"CVE-2021-32256",
"CVE-2025-11082",
"CVE-2025-11083",
"CVE-2025-11412",
"CVE-2025-11494",
"CVE-2025-11840"
);
script_name(english:"EulerOS Virtualization 2.13.1 : gdb (EulerOS-SA-2026-2125)");
script_set_attribute(attribute:"synopsis", value:
"The remote EulerOS Virtualization host is missing multiple security updates.");
script_set_attribute(attribute:"description", value:
"According to the versions of the gdb packages installed, the EulerOS Virtualization installation on the remote host is
affected by the following vulnerabilities :
A flaw has been found in GNU Binutils 2.45. Impacted is the function _bfd_elf_parse_eh_frame of the file
bfd/elf-eh-frame.c of the component Linker. Executing manipulation can lead to heap-based buffer overflow.
The attack is restricted to local execution. The exploit has been published and may be used. This patch is
called ea1a0737c7692737a644af0486b71e4a392cbca8. A patch should be applied to remediate this
issue.(CVE-2025-11082)
An issue was discovered in GNU libiberty, as distributed in GNU Binutils 2.36. It is a stack-overflow
issue in demangle_type in rust-demangle.c.(CVE-2021-32256)
A vulnerability was found in GNU Binutils 2.45. Impacted is the function _bfd_x86_elf_late_size_sections
of the file bfd/elfxx-x86.c of the component Linker. The manipulation results in out-of-bounds read. The
attack needs to be approached locally. The exploit has been made public and could be used. The patch is
identified as b6ac5a8a5b82f0ae6a4642c8d7149b325f4cc60a. A patch should be applied to remediate this
issue.(CVE-2025-11494)
A vulnerability has been found in GNU Binutils 2.45. The affected element is the function elf_swap_shdr in
the library bfd/elfcode.h of the component Linker. The manipulation leads to heap-based buffer overflow.
The attack must be carried out locally. The exploit has been disclosed to the public and may be used. The
identifier of the patch is 9ca499644a21ceb3f946d1c179c38a83be084490. To fix this issue, it is recommended
to deploy a patch. The code maintainer replied with '[f]ixed for 2.46'.(CVE-2025-11083)
A weakness has been identified in GNU Binutils 2.45. The affected element is the function vfinfo of the
file ldmisc.c. Executing manipulation can lead to out-of-bounds read. The attack can only be executed
locally. The exploit has been made available to the public and could be exploited. This patch is called
16357. It is best practice to apply a patch to resolve this issue.(CVE-2025-11840)
A vulnerability has been found in GNU Binutils 2.45. This impacts the function bfd_elf_gc_record_vtentry
of the file bfd/elflink.c of the component Linker. The manipulation leads to out-of-bounds read. Local
access is required to approach this attack. The exploit has been disclosed to the public and may be used.
The identifier of the patch is 047435dd988a3975d40c6626a8f739a0b2e154bc. To fix this issue, it is
recommended to deploy a patch.(CVE-2025-11412)
Tenable has extracted the preceding description block directly from the EulerOS Virtualization gdb 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-2125
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4f4f6479");
script_set_attribute(attribute:"solution", value:
"Update the affected gdb packages.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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:L/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-11083");
script_set_attribute(attribute:"cvss4_score_source", value:"CVE-2025-11840");
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:"2023/07/18");
script_set_attribute(attribute:"patch_publication_date", value:"2026/06/02");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/06/06");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:gdb");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:gdb-headless");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:gdb-help");
script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:uvp:2.13.1");
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/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 (uvp != "2.13.1") audit(AUDIT_OS_NOT, "EulerOS Virtualization 2.13.1");
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 = [
"gdb-11.1-8.h7.eulerosv2r13",
"gdb-headless-11.1-8.h7.eulerosv2r13",
"gdb-help-11.1-8.h7.eulerosv2r13"
];
foreach (var pkg in pkgs)
if (rpm_check(release:"EulerOS-2.0", reference:pkg)) flag++;
if (flag)
{
security_report_v4(
port : 0,
severity : SECURITY_WARNING,
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, "gdb");
}
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