Vulnerability
CVE-2026-97033
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.
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-97033
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…
- ALPINE-EDGE-CVE-2026-97033
-
AZL-113405
CVE-2026-97033 affecting package gcc 13.2.0-7
-
AZL-113450
CVE-2026-97033 affecting package golang 1.26.11-1
-
AZL-113486
CVE-2026-97033 affecting package golang 1.27.4-1
-
AZL-113582
CVE-2026-97033 affecting package python-tensorboard 2.16.2-6
-
AZL-113663
CVE-2026-97033 affecting package tensorflow 2.16.1-11
- CGA-22f3-pgf6-85p9
- CGA-22vg-p65w-hw2v
- CGA-25f7-crjw-5575
- CGA-26cq-x782-gv5m
- CGA-26hf-hq99-4gwm
- CGA-26qr-543w-384p
- CGA-2753-2m28-mjm8
- CGA-275g-x349-w5wh
- CGA-28gm-9hrc-r5fh
- CGA-2cj8-2f49-c4h4
- CGA-2cwh-v62w-wx32
- CGA-2fc7-v4xx-7w4w
- CGA-2fpx-2778-p36m
- CGA-2h48-rx6p-893q
- CGA-2phr-258h-596v
- CGA-2r7r-pxgv-hr58
- CGA-2rf5-wcj3-74p5
- CGA-2w3h-mv6g-jfx8
- CGA-32jh-w9j3-rch7
- CGA-33h2-7pgm-44vr
- CGA-35gx-c262-64pg
- CGA-37mq-xqp4-f259
- CGA-382h-6xgm-gjq2
- CGA-38m4-7w88-m6mm
- CGA-39qc-4r7q-h36c
- CGA-39w6-qcvp-vjv6
- CGA-3frr-5w4v-gg5g
- CGA-3r56-526p-v6x2
- CGA-3x4c-p4vf-27h3
- CGA-436j-gp32-cvmh
- CGA-45vq-x5wx-wp56
- CGA-466h-6m49-q6pr
- CGA-468x-wj9x-m587
- CGA-48hh-5gpx-g22h
- CGA-49hm-6cj2-275q
- CGA-4j45-xpcm-9m96
- CGA-4j55-w5ph-47pp
- CGA-4jwc-jvqf-cj92
- CGA-4mqc-wrqh-hppc
- CGA-4pc3-7wf2-mpm8
- CGA-4q7p-g3ph-vpwc
- CGA-4r9v-q9cf-8h53
- CGA-4v36-7mv3-88rc
- CGA-4vqp-fx7j-r6xx
- CGA-4vvr-r369-3rj5
- CGA-5356-mj8p-rxxj
- CGA-53rp-ghpf-3j56
- CGA-54gh-q8vj-2p83
- CGA-56g5-vw2p-fc23
- CGA-5cgc-v434-jq92
- CGA-5gmx-289f-9fqr
- CGA-5ppf-65g3-p23q
- CGA-5v5w-p5hg-cfwx
- CGA-5x86-j6h5-6ff7
- CGA-628m-35xx-r6hr
- CGA-64r5-fp9q-3268
- CGA-678m-68ph-h35j
- CGA-6hhc-g26j-34q3
- CGA-6jfj-crw5-ghhr
- CGA-6whq-4f8p-jjm2
- CGA-74m7-pc35-895m
- CGA-74qg-jrq2-28cg
- CGA-76g5-32x2-cm69
- CGA-77x9-8chw-w77r
- CGA-78v9-qvfw-mqq3
- CGA-7cg8-xq6r-g5ph
- CGA-7f96-qxcm-56h5
- CGA-7ffp-gm9g-mxr6
- CGA-7frf-9p2r-rg96
- CGA-7gqj-x5j6-w2v3
- CGA-7h8p-vvff-7g99
- CGA-7hx3-7q6r-4r9m
- CGA-7p4f-cr99-8q2g
- CGA-7p7q-4rcv-crqf
- CGA-7qjf-43xc-3jcm
- CGA-7qp6-9cpc-wmf4
- CGA-7w5w-wh57-c433
- CGA-7x2f-q252-mc85
- CGA-7x2q-5935-rcpm
- CGA-7x65-c6fh-f79w
- CGA-827v-w75j-7hhg
- CGA-82qr-7w6x-fmxf
- CGA-846p-gwwm-qfj5
- CGA-86v6-p4fj-rvfg
- CGA-875q-9266-4h3g
- CGA-87mm-r6p6-h4v5
- CGA-88jw-v59x-9xhv
- CGA-89hx-4v8h-2w3f
- CGA-8c39-4w3x-v8vf
- CGA-8c7q-vhrh-hrhx
- CGA-8cgm-4wm9-jmq5
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-97033.