- CVE-2026-97035: cmd/go - disallow Clang -gen-* and GCC -gnat* flags in cgo
compiler and linker flags, which matched the -g* allowlist wildcard but
take a separate argument, so they can no longer write sidecar files or
pass a following linker script to the linker as a positional input,
preventing code execution at build time
- CVE-2026-97041: cmd/compile, cmd/link - reject commas in symbol names and
paths of the cgo_import_dynamic, cgo_export_dynamic, cgo_export_static,
cgo_import_static and cgo_dynamic_linker directives and pass the dynamic
linker as -Wl,--dynamic-linker=
, so they can no longer inject host
linker flags, and stop cgo_import_dynamic from overwriting the external
name of a symbol that is already exported through cgo