{"id":"CLSA-2026-1795709502","summary":"golang: Fix of 5 CVEs","details":"- CVE-2026-97034: cmd/go - reject GCC spec files (specs, *.spec) in -L,\n  -isysroot and -Wl,-syslibroot directories, and in the working and package\n  directories when -fopenmp, -fopenacc or -fsanitize with -static or\n  -static-lib* is passed, and reject -fsanitize= values starting with @ or -,\n  preventing an untrusted spec file from running code at build time\n- CVE-2026-97038: cmd/go - check .syso files, direct linker inputs and\n  libraries in -L directories for GNU ld implicit linker scripts, COFF\n  .drectve directives, Mach-O LC_LINKER_OPTION commands and LTO IR sections,\n  and disallow -l:\u003cfile\u003e and :, = or path separators in -l names, preventing\n  code execution at link time\n- CVE-2026-97039: cmd/go - remove --with-path= and --personality= from the\n  pkg-config flag allowlist, disallow a leading = or $ in --define-variable=\n  values, reject .pc files and paths as pkg-config package names, and check\n  CGO_CPPFLAGS for flags not compatible with internal linking\n- CVE-2026-97040: cmd/go, cmd/link - reject .syso files that are Go objects\n  or have an unrecognized format, preventing unchecked cgo directives from\n  being injected through them, and keep the .syso suffix when long archive\n  member names are truncated\n- CVE-2026-97043: cmd/go, cmd/compile - unquote //go:cgo_ldflag,\n  //go:cgo_dynamic_linker and //go:cgo_import_dynamic strings with\n  strconv.Unquote and handle escaped quotes in pragma fields, so quoted\n  linker flags can no longer bypass checkLinkerFlags, and bound the cgo\n  LDFLAGS removal loop to prevent an out-of-range panic","modified":"2026-11-26T18:45:03.319188876Z","published":"2026-11-26T16:11:55Z","upstream":["CVE-2026-97034","CVE-2026-97038","CVE-2026-97039","CVE-2026-97040","CVE-2026-97043"],"references":[{"type":"ADVISORY","url":"https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1795709502.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97034"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97038"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97039"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97040"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97043"}],"affected":[{"package":{"name":"go-toolset","ecosystem":"TuxCare:AlmaLinux:9.2","purl":"pkg:rpm/tuxcare/go-toolset?distro=almalinux-9.2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.9-1.el9_2.tuxcare.els34"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1795709502.json"}},{"package":{"name":"golang","ecosystem":"TuxCare:AlmaLinux:9.2","purl":"pkg:rpm/tuxcare/golang?distro=almalinux-9.2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.9-1.el9_2.tuxcare.els34"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1795709502.json"}},{"package":{"name":"golang-bin","ecosystem":"TuxCare:AlmaLinux:9.2","purl":"pkg:rpm/tuxcare/golang-bin?distro=almalinux-9.2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.9-1.el9_2.tuxcare.els34"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1795709502.json"}},{"package":{"name":"golang-docs","ecosystem":"TuxCare:AlmaLinux:9.2","purl":"pkg:rpm/tuxcare/golang-docs?distro=almalinux-9.2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.9-1.el9_2.tuxcare.els34"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1795709502.json"}},{"package":{"name":"golang-misc","ecosystem":"TuxCare:AlmaLinux:9.2","purl":"pkg:rpm/tuxcare/golang-misc?distro=almalinux-9.2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.9-1.el9_2.tuxcare.els34"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1795709502.json"}},{"package":{"name":"golang-src","ecosystem":"TuxCare:AlmaLinux:9.2","purl":"pkg:rpm/tuxcare/golang-src?distro=almalinux-9.2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.9-1.el9_2.tuxcare.els34"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1795709502.json"}},{"package":{"name":"golang-tests","ecosystem":"TuxCare:AlmaLinux:9.2","purl":"pkg:rpm/tuxcare/golang-tests?distro=almalinux-9.2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.9-1.el9_2.tuxcare.els34"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1795709502.json"}}],"schema_version":"1.9.2"}