AlmaLinux 9.2 [TuxCare] Security Update: go-toolset / golang / golang-bin / golang-docs / golang-misc / etc Multiple Vulnerabilities (ALMALINUX9.2:CLSA-2026:1796331272)

high Nessus Plugin ID 393427

Synopsis

The AlmaLinux host is missing one or more security updates.

Description

The AlmaLinux 9.2 host has packages installed that are affected by multiple vulnerabilities as referenced in the TuxCare ALMALINUX9.2:CLSA-2026:1796331272 advisory.

- When using Clang or GCC, building a malicious package that uses cgo could cause unexpected code execution at build time or write files to arbitrary directories via -gen-* or -gnat* flags in #cgo directives.
The -g* wildcard in the compiler and linker flag allowlists previously matched Clang's two-argument
-gen-cdb-fragment-path <dir> flag and GCC's two-argument -gnatO <file> flag, permitting compilation database fragments and sidecar output files to be written to arbitrary directories and desynchronizing flag argument parsing between the go command and the compiler driver so that subsequent arguments could be passed as unvalidated positional inputs to the linker. -gen-* and -gnat* flags are now disallowed in #cgo compiler and linker flags. (CVE-2026-97035)

- Building a malicious package containing //go:cgo_* compiler directives could inject arbitrary flags into the external linker invocation on ELF platforms. The compiler and linker did not reject commas in //go:cgo_import_dynamic, //go:cgo_export_dynamic, //go:cgo_export_static, //go:cgo_import_static, and //go:cgo_dynamic_linker directives, and the linker passed the dynamic linker path using -Wl,-- dynamic-linker,<path>. Furthermore, the two-argument form of //go:cgo_import_dynamic (which is permitted in non-cgo Go source files) could overwrite the external symbol name of a symbol already marked for cgo export. A symbol name or dynamic linker path containing a comma or leading @ could split -Wl,-- export-dynamic-symbol= or -Wl,--dynamic-linker, into arbitrary host linker flags or response file arguments. The compiler and linker now reject commas in //go:cgo_* symbol and dynamic linker directives, the linker passes -Wl,--dynamic-linker=<path>, and cgo_import_dynamic no longer overwrites symbols exported via cgo_export_dynamic or cgo_export_static. (CVE-2026-97041)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages based on the guidance in TuxCare advisory ALMALINUX9.2:CLSA-2026:1796331272.

See Also

https://cve.tuxcare.com/els/releases/CLSA-2026:1796331272

http://www.nessus.org/u?15de8382

Plugin Details

Severity: High

ID: 393427

File Name: tuxcare_alma_linux_9.2_CLSA-2026-1796331272.nasl

Version: 1.1

Type: Local

Published: 12/4/2026

Updated: 12/4/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.55

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.3

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

CVSS Score Source: CVE-2026-97035

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/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 Score Source: CVE-2026-97041

Vulnerability Information

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/AlmaLinux/release, Host/AlmaLinux/rpm-list, Host/OS/extended-third-party

Exploit Ease: No known exploits are available

Patch Publication Date: 12/3/2026

Vulnerability Publication Date: 11/11/2026

Reference Information

CVE: CVE-2026-97035, CVE-2026-97041

CLSA: 2026:1796331272