Vulnerability
CVE-2026-97037
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".
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-97037
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…
- ALPINE-EDGE-CVE-2026-97037
-
AZL-113411
CVE-2026-97037 affecting package gcc 13.2.0-7
-
AZL-113447
CVE-2026-97037 affecting package golang 1.26.11-1
-
AZL-113483
CVE-2026-97037 affecting package golang 1.27.4-1
-
AZL-113618
CVE-2026-97037 affecting package python-tensorboard 2.16.2-6
-
AZL-113669
CVE-2026-97037 affecting package tensorflow 2.16.1-11
- CGA-2485-p3x4-c9gj
- CGA-24jc-rrq4-m4j5
- CGA-252w-p7x8-q688
- CGA-26m5-cgcv-x5m5
- CGA-2c27-wvh7-vr5c
- CGA-2m4x-cxj5-q74c
- CGA-2mx5-5h4m-77qx
- CGA-2pc3-4gpq-w5f8
- CGA-2ppq-c7m3-f685
- CGA-2w9m-72m6-fm57
- CGA-32j7-qf8x-4c42
- CGA-347p-7929-jmvp
- CGA-349x-w879-crxf
- CGA-37pj-m63r-h264
- CGA-39pp-72r5-7hf6
- CGA-3h23-g7r5-hvhq
- CGA-3h5f-wq6r-4r6m
- CGA-3jg8-32rm-38mp
- CGA-3mr7-r9xx-5973
- CGA-3q7q-rfq4-m7jm
- CGA-3r3q-r7cx-55fg
- CGA-3w3r-7q82-598p
- CGA-3wvh-q9rp-rgmc
- CGA-3xhp-46gq-gf3h
- CGA-4389-qppj-2555
- CGA-43mr-94cp-rxpc
- CGA-43wr-q6wx-hp8f
- CGA-444w-63mj-4f3r
- CGA-4456-jq5v-qw5c
- CGA-44vw-45c8-rv89
- CGA-44x2-vrg8-253m
- CGA-474v-mr4v-6rpf
- CGA-4776-5gr5-4h22
- CGA-47fj-9j94-j94m
- CGA-47hv-gpgg-c4rv
- CGA-47pg-xqcj-5xwp
- CGA-4857-pw9v-mh3c
- CGA-49jm-33xc-7fq3
- CGA-4c3w-wq3c-jchj
- CGA-4cjg-47g7-3jmm
- CGA-4gxh-9f97-g64g
- CGA-4hf5-jc2c-xxg7
- CGA-4j5v-59mp-f5mg
- CGA-4j6g-5659-rpx2
- CGA-4jv5-x6xq-xg2r
- CGA-4m9f-49rh-vqxx
- CGA-4pcv-429f-7xc5
- CGA-4q3m-6rrc-7fw3
- CGA-4w58-2qxw-p2f6
- CGA-4wrf-3jjq-p7v2
- CGA-4ww9-v962-qwcm
- CGA-5472-884c-cjj7
- CGA-5484-qwc6-jhm9
- CGA-563g-gc3r-5pvv
- CGA-5747-q2gg-37vv
- CGA-57hj-46w9-wj9r
- CGA-58vg-qqxr-g9gc
- CGA-5cwm-c9mx-39g9
- CGA-5f6m-qjwx-7chh
- CGA-5fff-rwwv-jcx4
- CGA-5g9x-qv7c-wcr4
- CGA-5hfj-gh7q-9g7w
- CGA-5mxm-pqh8-wp6j
- CGA-5q47-x938-gm24
- CGA-5q9f-jh34-pf5p
- CGA-5rr6-9f37-rx3c
- CGA-63c5-m65j-cx65
- CGA-6459-qr5j-7c5q
- CGA-64cj-p7f7-3mh6
- CGA-65jj-867h-rqqh
- CGA-66wg-vf38-pxf9
- CGA-67xj-v2wx-vc53
- CGA-68qh-mm83-mrw3
- CGA-6929-58fh-fhh6
- CGA-6g35-2fpp-rcjp
- CGA-6ghr-9q39-gcr2
- CGA-6h5h-m8mj-pxp8
- CGA-6hrc-pq5f-v86p
- CGA-6qhw-xph3-j3g7
- CGA-6rxr-qpj3-jv22
- CGA-6vw6-wwq7-9f9p
- CGA-7284-rmf6-vrcw
- CGA-73m2-hvv4-g6c4
- CGA-748q-84j5-963g
- CGA-7547-fxwg-fhm3
- CGA-75pj-r42f-838p
- CGA-79p8-7g33-vqg2
- CGA-7c7w-6j3r-qcq7
- CGA-7f57-pv98-9v43
- CGA-7fjv-2mfh-3q4v
- CGA-7g97-gg57-3r2g
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-97037.