Vulnerability
CVE-2026-97034
When using GCC, building a malicious package that uses cgo could cause arbitrary command execution at link time via untrusted GCC spec files ("specs" or "*.spec"). When linking with "-fopenmp", "-fopenacc", or "-fsanitize=" in "#cgo LDFLAGS", GCC's built-in link spec evaluates "%:include(libgomp.spec)" or "%:include(libsanitizer.spec)" and searches for spec files in "-L" and sysroot directories (including subdirectories and multilib sibling directories such as "../lib64"), as well as the working directory when "-fopenmp" or "-fopenacc" is used or when "-fsanitize=" is combined with "-static" or "-static-lib*". The go command now rejects "-L", "-isysroot", and "-Wl,-syslibroot" directories (and the working and package directories when applicable) that contain GCC spec files, and disallows "@" and "-" prefixes in "-fsanitize=" compiler flag values.
342 advisories report this vulnerability, across 11 ecosystems.
Advisories
-
ALAS2-2026-4125
Amazon Linux 2 2017.12 - ALAS2-2026-4125: important priority package update for golang
-
ALAS2023-2026-3475
Amazon Linux 2023 - ALAS2023-2026-3475: Important priority package update for golang
-
ALPINE-CVE-2026-97034
When using GCC, building a malicious package that uses cgo could cause arbitrary command execution at link time via untrusted GCC spec files ("specs" or "*.spec"). When linking with "-fopenmp", "-fopenacc", or…
- ALPINE-EDGE-CVE-2026-97034
-
AZL-113402
CVE-2026-97034 affecting package gcc 13.2.0-7
-
AZL-113429
CVE-2026-97034 affecting package golang 1.26.11-1
-
AZL-113459
CVE-2026-97034 affecting package golang 1.27.4-1
-
AZL-113597
CVE-2026-97034 affecting package python-tensorboard 2.16.2-6
-
AZL-113657
CVE-2026-97034 affecting package tensorflow 2.16.1-11
- CGA-224c-2vx4-h8x2
- CGA-2292-m8w3-3827
- CGA-23g7-j475-88wq
- CGA-23pf-39mr-vqcr
- CGA-24cj-r4j5-6p6r
- CGA-278c-32m7-36g7
- CGA-27fj-pfxf-c9m5
- CGA-28wm-467x-qcp8
- CGA-29q5-4h26-j6cf
- CGA-2cj6-j4f2-8qjx
- CGA-2cpv-rr9p-239p
- CGA-2cw4-g432-qx69
- CGA-2f8v-mh6p-5xxf
- CGA-2gg7-c3hw-jxjm
- CGA-2h7m-953m-j77h
- CGA-2jxp-ff96-chqc
- CGA-2m2j-pcj2-5p6q
- CGA-2mg4-x7gv-4xmv
- CGA-2qph-6vg8-m5w8
- CGA-2qv8-84fw-vm2p
- CGA-2qvh-wh4g-876c
- CGA-32xm-qf5v-jxrg
- CGA-35pq-5c7w-qpmv
- CGA-36fw-f55j-28fv
- CGA-36ww-f86h-f6w9
- CGA-3878-cvv2-43gr
- CGA-3jff-j3v6-m8m5
- CGA-3jfm-26x3-r47v
- CGA-3jjp-22jm-86rw
- CGA-3mfm-vx38-p3xm
- CGA-3mqp-pmwr-3gqr
- CGA-3q2j-vp7m-pfmv
- CGA-3qvh-9jmv-ww94
- CGA-3xrr-xp97-hgh3
- CGA-434m-m294-8whr
- CGA-43rj-h74w-3448
- CGA-449f-j663-92j7
- CGA-44gq-mmjw-jv4m
- CGA-455c-wqf6-qxrv
- CGA-46vm-mr8p-7cf5
- CGA-4873-f3m7-q6px
- CGA-4878-37fc-3v2f
- CGA-4995-8wv5-p6j3
- CGA-49mg-4vh9-w7gv
- CGA-4gjv-cfwf-qr78
- CGA-4gm5-2m4c-379w
- CGA-4gpj-2gwh-xmw4
- CGA-4j4j-76rc-9fjv
- CGA-4j5f-3f9x-8rvg
- CGA-4j6c-g743-fx4r
- CGA-4jc7-7fr4-4ww9
- CGA-4jmg-vpxv-rx48
- CGA-4pgx-jx2m-vhpm
- CGA-4pjj-5746-p56v
- CGA-4pwc-chpm-4hf5
- CGA-4vg9-p249-jv76
- CGA-4x24-qv2w-gg62
- CGA-4xjc-xmm9-4824
- CGA-4xwf-x8wg-25j2
- CGA-522r-vm22-7q9q
- CGA-5972-2r2p-pj63
- CGA-5995-pxpx-2v9f
- CGA-5c65-64g4-2xvx
- CGA-5c73-5794-7gqj
- CGA-5crx-4wcx-p58h
- CGA-5g5m-cf98-3455
- CGA-5gj6-98m6-wg98
- CGA-5hh7-3qp9-79xg
- CGA-5pqg-j3g6-x78v
- CGA-5whg-g6fr-pqmf
- CGA-5xrm-hc5r-345c
- CGA-63cr-jv4f-h6q5
- CGA-63j5-v33h-p727
- CGA-63p9-89xx-hp98
- CGA-63pg-p8vj-4h39
- CGA-6474-jqg7-35qq
- CGA-67fg-p3jc-67xj
- CGA-67r6-hrhp-hf7p
- CGA-67v4-gx8j-cv45
- CGA-685x-69xg-35f6
- CGA-69vw-q68r-32vr
- CGA-6cjj-pxxv-98fp
- CGA-6hr6-5745-grgq
- CGA-6jrx-wr3f-v589
- CGA-6jxf-m4h9-8qxc
- CGA-6mjp-wmpj-5jwf
- CGA-6q92-v3g9-f5fv
- CGA-6rfh-76x8-6px5
- CGA-6v29-pg7q-hp42
- CGA-6v77-vqm5-6f56
- CGA-6wf8-xhc8-2mjq
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-97034.