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

high Nessus Plugin ID 386704

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:1795615684 advisory.

- Building a malicious package that uses cgo could cause arbitrary code execution at build time through several compiler and linker flags permitted in #cgo directives. Specifically, --sysroot in GCC and Clang relocates compiler subprograms, spec files, and CRT startup objects to an attacker-controlled directory; -target in Clang falls back to executing target helper tools from the current working directory when not found in PATH; -isysroot and -Wl,-syslibroot can pass a regular file on disk to GNU ld.bfd, which interprets it as a positional linker script; and -x permitted specifying arbitrary compiler input languages beyond those supported by cgo. --sysroot and -target are now disallowed in #cgo flags, -isysroot and -Wl,-syslibroot are verified not to point to regular files, and -x is restricted to the C, C++, Objective-C, and assembler languages supported by cgo. (CVE-2026-97033)

- On Darwin, building a malicious package that uses cgo could cause arbitrary code execution when using the Apple linker due to passing -l to_library <path> in a #cgo LDFLAGS directive. The Apple linker recombines the separated arguments -l and to_library into -lto_library, which loads an arbitrary LTO plugin dynamic library at link time. The go command now disallows -l followed by to_library in #cgo LDFLAGS, rejects -lazy_library, -lazy_framework, -load_hidden, -library, and -library-path, and checks recombined -l arguments against disallowed linker flags and patterns. (CVE-2026-97036)

- Building a malicious package that uses //go:cgo_import_dynamic or links against a crafted PE object on Windows could pass unsafe library arguments to the external linker. The compiler only checked the first character of the library name in //go:cgo_import_dynamic directives and skipped validation in cgo- generated files. In addition, on Windows, cmd/cgo and cmd/link did not validate imported DLL names extracted from PE object files before emitting -l<name> flags for the external linker, allowing a crafted DLL name containing .. path traversal or special characters to reference arbitrary files on disk. The compiler now validates every character of the library name in //go:cgo_import_dynamic directives (including in cgo-generated files on Windows) and rejects .. path traversal, and cmd/cgo and cmd/link reject PE imported DLL names containing path separators, .., :, or leading - or @.
(CVE-2026-97042)

- Building a malicious package that uses cgo could cause arbitrary code execution at link time by passing linker script files to the host linker via #cgo LDFLAGS. Split -Wl, flags that consume a following argument (such as -Wl,-rpath, -Wl,--just-symbols, and -Wl,-undefined) previously accepted a bare second argument without a -Wl, prefix, which the compiler driver passes directly to the linker as a positional input file. Additionally, when using GNU ld.bfd, flags such as -framework, -Wl,-framework,
-Wl,-undefined, -Wl,--just-symbols, -Wl,-R, -Wl,-subsystem, and (on non-Darwin platforms)
-Wl,-sectcreate could cause ld.bfd to interpret their arguments as linker scripts if they named a regular file on disk. The go command now requires a -Wl, prefix on the second token of split -Wl, flags (except -Wl,-R), verifies that these flags do not reference linker script files, and disallows bare -Wl,--warn-backrefs-exclude. (CVE-2026-97037)

- When Trailer headers are sent by a client, the HTTP server internally uses the header values to populate the Request.Trailer map passed to the server handler. Because Request.Trailer is a map, each entry incurs memory overhead. For HTTP/2 servers, a malicious client can exploit this by sending a Trailer header that declares a large number of fields, causing the server to allocate a disproportionate amount of memory while bypassing Server.MaxHeaderValueCount and Server.MaxHeaderBytes limits. This exploit is not applicable for HTTP/1 servers, which do not support multiplexing a large number of requests over one TCP connection, and whose Server.MaxHeaderBytes are calculated differently. (CVE-2026-78659)

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:1795615684.

See Also

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

http://www.nessus.org/u?1e66215d

Plugin Details

Severity: High

ID: 386704

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

Version: 1.1

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.54

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-78659

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-97042

Vulnerability Information

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/25/2026

Vulnerability Publication Date: 10/8/2026

Reference Information

CVE: CVE-2026-78659, CVE-2026-97033, CVE-2026-97036, CVE-2026-97037, CVE-2026-97042

CLSA: 2026:1795615684