Vulnerability
CVE-2026-97036
On Darwin, building a malicious package that uses cgo could cause arbitrary code execution when using the Apple linker due to passing "-l to_library <path>" in a "#cgo LDFLAGS" directive. The Apple linker recombines the separated arguments "-l" and "to_library" into "-lto_library", which loads an arbitrary LTO plugin dynamic library at link time. The go command now disallows "-l" followed by "to_library" in "#cgo LDFLAGS", rejects "-lazy_library", "-lazy_framework", "-load_hidden", "-library", and "-library-path", and checks recombined "-l" arguments against disallowed linker flags and patterns.
338 advisories report this vulnerability, across 9 ecosystems.
Advisories
-
AZL-113399
CVE-2026-97036 affecting package gcc 13.2.0-7
-
AZL-113438
CVE-2026-97036 affecting package golang 1.26.11-1
-
AZL-113471
CVE-2026-97036 affecting package golang 1.27.4-1
-
AZL-113591
CVE-2026-97036 affecting package python-tensorboard 2.16.2-6
-
AZL-113651
CVE-2026-97036 affecting package tensorflow 2.16.1-11
- CGA-236j-m947-px6w
- CGA-23rv-hvgf-8qpg
- CGA-23v5-26v9-pccv
- CGA-25hv-34mr-3m8h
- CGA-25vx-h5h8-258h
- CGA-26r3-wq3x-xc7q
- CGA-2932-39p6-4rj4
- CGA-29cr-vwp8-pxjf
- CGA-29p8-f2m2-37g9
- CGA-2g36-jg29-653q
- CGA-2hpc-m6v3-hqrc
- CGA-2mqf-fr4m-6hg8
- CGA-2q2g-pvhq-m8c8
- CGA-2v5c-49j6-xprw
- CGA-2wj5-mx9f-p3pg
- CGA-2xp9-r8xx-9c5x
- CGA-32fv-mwr7-jjh8
- CGA-339v-9w49-vchw
- CGA-353g-fr7j-4297
- CGA-3fwg-3p7f-q7j3
- CGA-3g62-vfc5-556m
- CGA-3gr4-4259-87v5
- CGA-3mgq-mp98-w33f
- CGA-3mh3-cjx3-j95f
- CGA-3mmp-c74q-f97q
- CGA-3p6f-f4rq-2pm5
- CGA-3pvp-2v59-fwc2
- CGA-3q6q-5mxf-ffq4
- CGA-3qjx-4p4x-2qj7
- CGA-3r8r-cxxh-m43c
- CGA-3rhj-fgrv-vw8q
- CGA-3rwf-767h-6p94
- CGA-3wff-vxxv-j5c8
- CGA-3wq9-w3v3-779q
- CGA-3x85-4h9h-r3qq
- CGA-3xh8-4v4w-6xp5
- CGA-424q-q2fc-jrgx
- CGA-44pc-3rx7-9wp2
- CGA-4596-hpxr-7p3g
- CGA-4664-p88m-p6jj
- CGA-466w-7r3q-vxm6
- CGA-46g5-4j3h-jxxp
- CGA-46xh-whj9-qxr5
- CGA-47h7-jvxx-gwff
- CGA-47mm-6jcj-6vh6
- CGA-483f-w96j-gp9w
- CGA-499m-8vrc-wrc3
- CGA-4g2v-c4p4-hr39
- CGA-4g98-j5wr-5w78
- CGA-4ppx-xjpg-prjm
- CGA-4rmp-gmw2-qw52
- CGA-4v3r-fv4c-p36m
- CGA-4vqp-q88f-25q9
- CGA-4x7c-v894-5pc5
- CGA-522v-2j3v-xfpj
- CGA-535r-fwph-v9x7
- CGA-54rp-m74w-3pxq
- CGA-564x-rqfq-4g7q
- CGA-5965-52c4-q48g
- CGA-5ffp-7r82-8j2m
- CGA-5jx9-qmcj-5gxm
- CGA-633r-jrr3-7jrp
- CGA-65fr-qvh9-jqwr
- CGA-67jg-736c-vxj5
- CGA-68wx-gj7c-jpx6
- CGA-6fm6-pg2j-587v
- CGA-6gcx-6q59-hqj5
- CGA-6m6h-jqhg-cj32
- CGA-6mjv-3v65-mr24
- CGA-6p3j-vrjg-8cx4
- CGA-6pgp-g23f-h83c
- CGA-6qmm-57j2-m6g6
- CGA-6r53-jr47-gj6m
- CGA-6r74-5mjc-4552
- CGA-72j6-f6pc-7rj6
- CGA-744v-3fq6-ccjp
- CGA-75f8-79jj-38wc
- CGA-776h-2f7m-qpq3
- CGA-7f4g-qvjc-9q6w
- CGA-7g75-c8rv-cj4x
- CGA-7jmc-jc9w-3qxg
- CGA-7jxv-27wx-wmx7
- CGA-7m9f-mccc-299w
- CGA-7mv4-8282-9mw9
- CGA-7pg9-56fp-v4pf
- CGA-7qrh-86c7-7j7h
- CGA-83vc-2jr7-544p
- CGA-848x-qjpg-8gfp
- CGA-84pc-pwg9-89rf
- CGA-855r-72p5-wxq6
- CGA-859r-h23j-qcvw
- CGA-85g3-445v-f359
- CGA-8744-4gjr-346w
- CGA-886g-mhm3-vx37
- CGA-88pg-7r82-xjx4
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-97036.