# CVE-2026-97038: Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/go

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-11 · Modified: 2026-11-17
- Aliases: DEBIAN-CVE-2026-97038, GO-2026-6853, UBUNTU-CVE-2026-97038, ALPINE-CVE-2026-97038, CGA-222r-hgxw-9rgq, CGA-2c46-g8jf-r8m7, CGA-2cxv-qvpp-mg9g, CGA-2h8r-x7j8-wjh7, CGA-2j76-69v6-jqhq, CGA-2r85-w7wp-w5qw, CGA-2xf3-r4j6-w9ch, CGA-46h8-9cfc-h368, CGA-4c83-396p-xw2j, CGA-5qw2-r328-5q69, CGA-699w-p5v7-8fm9, CGA-6mxp-j4m3-r999, CGA-75px-h93j-4v8j, CGA-8cfg-mmm5-r47h, CGA-9795-9wg5-rxmq, CGA-9mfv-jp69-w22x, CGA-9r56-vw98-q7jv, CGA-9v5c-xv99-gm8r, CGA-c6f2-867f-3jfr, CGA-c7rf-p4j6-h4xx, CGA-c922-gxh9-p3gw, CGA-cg3g-f53r-fjc5, CGA-cm2m-vg36-3jq2, CGA-f798-4rw2-ppf4, CGA-ffr3-w9h2-wmr7, CGA-ggxm-rp33-q899, CGA-jcm3-q5j7-m2v3, CGA-jg4m-v8c4-vj93, CGA-pmc5-652g-c59v, CGA-pqrh-6g2q-j2x5, CGA-prfq-vh69-m75c, CGA-qph4-g83g-8qr4, CGA-qx33-975x-c6c5, CGA-w6pr-7hrx-x6pv, CGA-wf89-cc2g-7h57, CGA-wqpm-35rf-9788, CGA-wvr7-p2jq-jv4f, CGA-wxxr-ppw9-76cr, CGA-x93g-vw43-xphf, CGA-xvcr-2mfh-4c38, CGA-234q-g4qf-w8rq, CGA-24jm-6wgc-fgx6, CGA-24qv-p34q-fc67, CGA-25f3-568q-ww36, CGA-25j9-c3j2-c8m7, CGA-26wh-h5c9-3x4q, CGA-2cjh-22rm-23rm, CGA-2fff-736f-h5qj, CGA-2fgf-w5fg-xcg9, CGA-2g5q-8x53-g7f9, CGA-2rgc-7cm5-fxwh, CGA-2vj8-vpx2-g4q4, CGA-2w29-9m6m-hmh5, CGA-2wcr-58g3-hf83, CGA-2wwc-6hjp-qrqq, CGA-2wwf-cq97-53mp, CGA-2xrm-55mm-2fwr, CGA-2xwj-h3ch-7x78, CGA-325q-mmqf-2493, CGA-3368-6hc7-h7rq, CGA-33x9-f438-93pv, CGA-38wq-pqg9-5vmf, CGA-3cq6-fg76-2478, CGA-3j8m-39xj-m9f5, CGA-3pq8-cc34-crx5, CGA-3pvv-3f39-3fcg, CGA-3r2w-3cmw-q373, CGA-3w59-5pgc-prm3, CGA-3wx6-7v5m-c753, CGA-3x9v-hfp3-wp4g, CGA-44x2-4hp3-f69q, CGA-452h-r3q5-xxxr, CGA-4635-gpmc-x3r8, CGA-46vg-gqv4-m7fj, CGA-4777-3vp6-pjjr, CGA-47qw-mhp7-69vm, CGA-482j-qgfh-vp85, CGA-493h-gc9r-3qq3, CGA-4986-jw5x-qf46, CGA-4gr7-wfqm-qgf5, CGA-4ph7-5rx5-v48p, CGA-4qq5-qg2q-qrxx, CGA-4vfg-qp8g-x63q, CGA-4w6w-8w98-49gf, CGA-4wfp-mj5c-3x6q, CGA-4xfc-ppf7-5p48, CGA-4xrw-5wrg-pmqc, CGA-53p9-fwf8-f254, CGA-53w3-mq39-5h34, CGA-5hhp-7447-mfj9, CGA-5hpf-qcxg-v6cq, CGA-5hvq-mjwh-cx99, CGA-5q47-vghv-v239, CGA-5qxr-g9jm-vc29, CGA-5rqr-ffvv-8gwq, CGA-5xhv-fr2g-wj69, CGA-626p-jggj-fxrw, CGA-66qp-qp9r-3363, CGA-693f-hv46-pf9g, CGA-6cmh-q2w6-vch2, CGA-6mj7-xrq2-qxvc, CGA-6ppf-77fg-jg6j, CGA-6qj2-wcf3-3x2m, CGA-6r9c-3555-wjwg, CGA-72f7-9fmj-v9w7, CGA-72w9-99wg-46mq, CGA-72x3-p4jv-997q, CGA-7c3j-767p-x22m, CGA-7cv9-jg3m-4h4m, CGA-7gvx-4pw5-jp76, CGA-7p35-f72c-qm8f, CGA-7wc9-mw32-3p59, CGA-7xj4-9vq5-c5f2, CGA-822m-9mr2-86p7, CGA-83w6-wwhf-3mr5, CGA-86j3-j4x3-vhx8, CGA-874g-6xwf-3xgm, CGA-87q2-wr8g-g86m, CGA-88mh-w658-cfg8, CGA-89gw-544f-pmmc, CGA-8g52-ffgq-g3r3, CGA-8h38-f8jj-852v, CGA-8jqc-x2qc-m3hw, CGA-8jvj-pc3p-mhp5, CGA-8mcx-j27c-g8vh, CGA-8r9x-57j9-42cm, CGA-8v24-rpqw-mhw7, CGA-8v82-c8mp-f698, CGA-8xw4-rh5m-m8cv, CGA-9353-rp5h-v6fj, CGA-974w-4c46-2phm, CGA-979m-hr3p-q55q, CGA-97pc-rj22-6pfg, CGA-98hm-hpjw-h83r, CGA-9cxp-mp6r-8v94, CGA-9gwv-2669-v37q, CGA-9jx2-7gp8-pq94, CGA-9qmv-w3vj-4vp9, CGA-9r88-xx99-gpqv, CGA-9rgx-2mvm-g8pm, CGA-9rxq-3qcw-m428, CGA-9vgf-j4h3-7p4j, CGA-9w33-9p5q-p8wq, CGA-9x85-xp76-75x2, CGA-c26g-4rh8-63j2, CGA-c2vf-gw4c-grmh, CGA-c4g6-5wwg-q3c7, CGA-c724-f4jg-4h5v, CGA-c7vj-qmw6-7v4w, CGA-c8j6-67xc-p4qp, CGA-c95p-f9wp-f52c, CGA-cg52-ph8g-84xm, CGA-cr7p-9m7q-685h, CGA-cw3j-r9v2-hcpj, CGA-cx69-x9x5-j2v4, CGA-cxpq-974p-hcpc, CGA-cxxj-29h8-qhr7, CGA-f34r-7j4q-8m4r, CGA-f45w-847j-h5j2, CGA-f4cj-4fww-r84m, CGA-f5jf-8p74-6572, CGA-f8pm-vfwc-f534, CGA-f952-mpg9-fv69, CGA-f9v6-grrr-38qv, CGA-fcwf-5wc9-5pjg, CGA-fffj-6637-vc4q, CGA-ffj3-jf78-v9hr, CGA-fg67-m37f-w7hv, CGA-fgfg-4xcf-8h58, CGA-fm8f-rmg6-m2hv, CGA-fmf8-5pv6-q9x8, CGA-fmhj-4f3h-q3g9, CGA-fpf9-67g5-rpc8, CGA-fqf6-836f-fv8q, CGA-fqv3-j599-87pj, CGA-frrv-rmm6-gr4h, CGA-fvgx-5c42-44m9, CGA-fw95-h77f-8cj3, CGA-fx78-9hw8-crxq, CGA-fxxr-qjw7-qfw3, CGA-g2m3-2r5x-9mx3, CGA-g2rm-cxv8-6978, CGA-g4p7-cfxj-559h, CGA-g57m-rv2g-rfq8, CGA-g5rv-w4jv-944j, CGA-g78r-pffp-xwvc, CGA-gfrg-7gx5-f4qc, CGA-gg5q-grhr-7pcf, CGA-gghx-9v2q-5g8v, CGA-gr6v-4rj9-m47w, CGA-gv4g-hprj-79jr, CGA-gx2c-r6w3-2g2g, CGA-gx7r-w489-xxf8, CGA-h336-mr76-v822, CGA-h477-3p9r-vh46, CGA-h529-545h-hch4, CGA-h535-464v-3q7x, CGA-h8w2-xqh8-m54j, CGA-h8w7-j3r6-c7rg, CGA-hj86-xrvf-xv94, CGA-hjqq-c5pm-mgp3, CGA-hjvp-2hj9-c9g9, CGA-hqjw-f3p9-88hm, CGA-hr7m-m8gr-g8h9, CGA-hwvr-mg36-6j6m, CGA-hxgr-33gv-jf3j, CGA-j6rj-p5g8-crhv, CGA-j73r-gqq8-fhrg, CGA-j7hc-45pp-mp55, CGA-jhc2-4vw5-xjc6, CGA-jhjq-q5x9-7wwv, CGA-jm6h-6xrv-4rwf, CGA-jp4h-87mh-25qv, CGA-jpfv-c4fq-wpvp, CGA-jpqx-x959-56mq, CGA-jx52-rj6r-75wv, CGA-jxpg-gw33-5r6h, CGA-m46g-2r7c-mmgj, CGA-m48x-crjj-g7hv, CGA-m49q-2f75-m9wq, CGA-m63p-4285-qm9f, CGA-mc9r-93wq-wm6q, CGA-mfmm-9pfc-gpv6, CGA-mh4v-99c6-m38h, CGA-mj4x-5x88-fqg9, CGA-mqqr-75r4-m9g9, CGA-mrwr-xxcq-m8rv, CGA-mv35-w47w-jqf4, CGA-mv4g-5jm8-v4q8, CGA-mvpj-v29f-743g, CGA-p24p-g36w-c79x, CGA-p34h-c8r3-386q, CGA-p3w8-q78h-4m7g, CGA-p4v2-w2jh-5f8m, CGA-p9vj-cg94-97h6, CGA-p9xv-w83h-jg9h, CGA-pfq3-8h9g-mf2m, CGA-pg34-93pv-pmgm, CGA-ph59-fpgg-f55c, CGA-phx3-h5xm-2cc6, CGA-pmx3-jcfq-5436, CGA-pp3h-3fh4-8h9v, CGA-pp4f-jrq5-wpwv, CGA-ppqh-9fwg-p396, CGA-px2j-4vp3-wmq7, CGA-q378-r8wg-x9h8, CGA-q6j5-2wf4-pc25, CGA-qfqj-vxp4-x2hx, CGA-qfxp-8c4w-x722, CGA-qg7r-62h7-mwj3, CGA-qh4j-m4mc-rc6m, CGA-qmq3-9m2q-7fv3, CGA-qmrw-x2g4-p6hm, CGA-qpvr-q4fq-5rp7, CGA-qqg2-pq4f-v64c, CGA-qv43-547v-3ghf, CGA-qvc5-7g8q-mm36, CGA-r278-6c7r-88wm, CGA-r4xp-mjc8-c59r, CGA-r554-gvf4-2vvj, CGA-r6gj-wfh8-7c63, CGA-r7gm-q626-w6wr, CGA-r8gw-gwh9-r8m5, CGA-r8q8-mmxr-7hcj, CGA-rc3x-x7qw-3qr7, CGA-rc7q-g796-4cv3, CGA-rcvj-49jq-w5cc, CGA-rg8x-rxhg-vc5g, CGA-rgvp-3m6h-x5rx, CGA-rhjq-ff39-rvh6, CGA-rw43-mpjr-h93c, CGA-rwqr-vq2j-mpmg, CGA-v29q-42vp-7jrv, CGA-v2r6-3f99-g9c3, CGA-v53m-m825-x3f4, CGA-v992-m9vr-p97j, CGA-vchj-55xp-684w, CGA-vf73-5g9v-w9pp, CGA-vfmq-vppg-fq8w, CGA-vg8r-76v5-m445, CGA-vhqq-3q4h-fx45, CGA-vj38-q653-4qvv, CGA-vpjw-9vm4-5fxj, CGA-vqrv-pxqf-w87r, CGA-vwqh-p2cg-693h, CGA-w4gr-f983-9fh8, CGA-w6vp-x26m-2cqf, CGA-w774-8497-fr8r, CGA-w8cp-6vh8-65mc, CGA-w9mc-8j53-m5qp, CGA-wcxq-69v4-g57h, CGA-wf24-6mhj-8gcg, CGA-wjvx-vqhc-7pw2, CGA-wqwc-q9wq-f93v, CGA-wvr6-82q8-fw58, CGA-ww9w-h957-rv5x, CGA-wxgg-8vwv-g3fx, CGA-x2wv-q636-xvmv, CGA-x4p3-q3w5-5xg7, CGA-x7pc-m6xf-fvwc, CGA-xc48-wm67-m2x2, CGA-xgrf-2mj5-8c5h, CGA-xh48-v4jq-37v2, CGA-xj68-9g37-fch3, CGA-xm44-8pj6-8p76, CGA-xq56-f22q-rp7p, CGA-xv9x-wq2w-64gv, CGA-xw96-g9w5-865p, CGA-6xjm-hxqw-3mqm, CGA-9h75-9j45-3jvg, CGA-mm6w-w29x-2h33, CGA-wrh2-prhg-g55f, CGA-993r-x47h-rrhx, CGA-f34h-x4j3-qf3p, CGA-h7fq-3h8p-pw59, CGA-qpc7-68v2-2jq4, BIT-golang-2026-97038, CGA-5x4c-4vh2-h6vx, CGA-7w4p-qvhh-2f8m, CGA-c934-hvw7-8wpx, CGA-cj2g-c2fv-7r7x, CGA-fxfv-85x2-hpvr, CGA-mc3j-533w-hxjp, CGA-mq4x-h624-9gh3, CGA-vphr-vg54-wp25, CGA-wc9v-vhjm-3m6m, CGA-xpx5-9mxm-g35h, CGA-2xc6-7qj5-hghx, CGA-8gj4-4462-57wj, CGA-g3f2-5f3v-46m4, CGA-rw7c-83rx-gv4w
- Record: https://cvemate.com/vulnerability/CVE-2026-97038 · JSON: https://cvemate.com/vulnerability/CVE-2026-97038/json

## Description

```text
Building a malicious package containing ".syso" files or cgo linker inputs could inject arbitrary linker flags or execute arbitrary code at link time. Linker input files—including ".syso" files, direct object or library inputs in "#cgo LDFLAGS", and libraries in "-L" directories—were passed to the external linker without validating their format or checking for embedded linker options. Across platforms, this allowed executing GNU ld implicit linker scripts disguised as libraries or ".syso" files (or loaded via "-l:<filename>" or "-l" containing path separators), injecting unallowlisted linker flags via PE/COFF ".drectve" sections on Windows or Mach-O "LC_LINKER_OPTION" load commands on Darwin, or invoking LTO plugins via GCC or LLVM LTO intermediate representation sections in ELF, PE/COFF, or Mach-O objects. The go command now verifies that ".syso" files, direct linker inputs, and libraries in "-L" directories are valid binary objects or archives that do not contain unallowlisted ".drectve" directives, "LC_LINKER_OPTION" load commands, or LTO IR sections, and disallows "-l:<filename>" and ":", "=", or path separators in "-l" flags.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.686%, percentile 54.047%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 105)

- alpine go (Alpine Linux): \< 1.26.11-r0 \| \< 1.27.4-r0
- chainguard azure-service-operator (Chainguard): All versions (No fix recorded)
- chainguard commercial-chainloop-backend (Chainguard): All versions (No fix recorded)
- chainguard commercial-chainloop-cli (Chainguard): All versions (No fix recorded)
- chainguard commercial-expanso-edge (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.11-r0
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): All versions (No fix recorded) \| \< 19.2.11-r0
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.10-r5
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): All versions (No fix recorded) \| \< 19.2.11-r0
- chainguard commercial-gitlab-workhorse-ee-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.11-r0
- chainguard commercial-gitlab-workhorse-ee-19.2 (Chainguard): All versions (No fix recorded) \| \< 19.2.10-r2
- chainguard commercial-gitlab-workhorse-ee-fips-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.11-r0
- chainguard commercial-gitlab-workhorse-ee-fips-19.2 (Chainguard): All versions (No fix recorded) \| \< 19.2.10-r2
- chainguard commercial-grafana-11.6 (Chainguard): All versions (No fix recorded)
- chainguard commercial-grafana-12.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-grafana-12.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-grafana-12.4 (Chainguard): All versions (No fix recorded) \| \< 12.4.16-r0
- chainguard commercial-grafana-13.0 (Chainguard): All versions (No fix recorded) \| \< 13.0.14-r0
- chainguard commercial-grafana-13.1 (Chainguard): All versions (No fix recorded) \| \< 13.1.11-r0
- chainguard commercial-grafana-13.2 (Chainguard): All versions (No fix recorded) \| \< 13.2.7-r0

## References

- <https://security-tracker.debian.org/tracker/CVE-2026-97038>
- <https://go.dev/cl/862151>
- <https://go.dev/issue/82572>
- <https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM>
- <https://pkg.go.dev/vuln/GO-2026-6853>
- <https://ubuntu.com/security/CVE-2026-97038>
- <https://www.cve.org/CVERecord?id=CVE-2026-97038>
- <https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM/m/KsU1KfWgAQAJ>
- <https://github.com/golang/go/issues/82572>
- <https://github.com/golang/go/commit/51dadca52c3698bb8b3dc9ea83d86a26eec71da4>
- <https://github.com/golang/go/commit/1fa5bc200a8d16b77867cd8688d4b4902368f0f9>
- <https://security.alpinelinux.org/vuln/CVE-2026-97038>

---

Data as of 2026-12-05T08:26:02.762Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
