Vulnerability
CVE-2026-33487
goxmlsig provides XML Digital Signatures implemented in Go. Prior to version 1.6.0, the `validateSignature` function in `validate.go` goes through the references in the `SignedInfo` block to find one that matches the signed element's ID. In Go versions before 1.22, or when `go.mod` uses an older version, there is a loop variable capture issue. The code takes the address of the loop variable `_ref` instead of its value. As a result, if more than one reference matches the ID or if the loop logic is incorrect, the `ref` pointer will always end up pointing to the last element in the `SignedInfo.References` slice after the loop. goxmlsig version 1.6.0 contains a patch.
186 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-25mf-j7v7-g5gq
- CGA-292j-2pmx-vr4x
- CGA-2cmg-6mpp-qrj8
- CGA-2f54-q7v7-6pj6
- CGA-2h32-4x49-gm28
- CGA-2prg-8c9v-ccff
- CGA-35xj-hw7v-vr2f
- CGA-367j-vxcg-qp5g
- CGA-372p-9w3v-qqmf
- CGA-39vp-9mxx-g86q
- CGA-3g67-hxg5-2gr3
- CGA-3jmv-q9mg-xrf6
- CGA-3pgh-p682-52rx
- CGA-3pr9-7xp2-494j
- CGA-3v3w-26mc-2f72
- CGA-3wcf-xf5p-xxp5
- CGA-3xcv-5wg9-54g6
- CGA-4266-4369-r2xf
- CGA-4fgq-p3mv-3962
- CGA-4g3h-jfw7-qmc8
- CGA-4m4h-34j9-xh5r
- CGA-4xxj-75xh-qggh
- CGA-53q9-w3c9-x928
- CGA-564r-jvx2-xxfg
- CGA-574x-5fqc-c72v
- CGA-594m-f8cm-vxqq
- CGA-598w-rvwp-x5j5
- CGA-5cf9-h93c-3j66
- CGA-5gjq-vv45-rmx6
- CGA-5mvx-2x5r-q6rf
- CGA-5rg2-3h39-vffr
- CGA-62c6-qq4r-fhj4
- CGA-62v2-v94m-355p
- CGA-6359-94wc-hp32
- CGA-64c5-j564-92c8
- CGA-69mq-ch2h-f3h3
- CGA-6fq3-wgg6-v9cp
- CGA-6gp7-xvch-4p2x
- CGA-6q9q-v5mw-h5jg
- CGA-6vwg-vc33-5hhp
- CGA-6w7h-284j-xp8v
- CGA-737x-r54f-3vw8
- CGA-73j2-4gpc-7268
- CGA-745r-62f2-cp4g
- CGA-769m-gp3f-4p26
- CGA-797r-vv99-m3gg
- CGA-7g9j-3j86-pm2f
- CGA-7hpm-3qp8-vxgr
- CGA-7jxf-253v-g8mp
- CGA-7qgh-c724-rc6c
- CGA-7v2p-jm86-6q8x
- CGA-7wrg-fq74-788x
- CGA-82h8-cv63-q83j
- CGA-8395-p692-pprp
- CGA-8678-6cfr-gjf3
- CGA-8fmg-jvfw-f7mj
- CGA-8g65-wrgw-6fpw
- CGA-8hf4-xq2g-q9p6
- CGA-958r-2j5h-jq5x
- CGA-95pf-v9fc-v3m5
- CGA-98p8-6hqf-q78h
- CGA-9cv2-2r39-m3vc
- CGA-9gh9-mppv-w5jf
- CGA-9j9r-8vwj-xc34
- CGA-c4jf-55f2-w9wp
- CGA-c548-hvhj-5mj7
- CGA-c678-hc5c-7hp3
- CGA-c6wf-g77v-wcjc
- CGA-cfhw-p8m9-p24c
- CGA-cgc4-6c87-7ww5
- CGA-cgfj-jh4p-97pc
- CGA-cgrr-m4wq-7xc6
- CGA-cm3p-59f5-rfwq
- CGA-cp2w-xwc6-5cm6
- CGA-crp2-g6rm-v337
- CGA-crq9-4f27-v9wh
- CGA-cvc5-8fwh-gvw9
- CGA-f666-27h7-4jcq
- CGA-f6hj-f45j-cfv3
- CGA-f7g3-53mr-52wm
- CGA-fgcj-fmfm-xhq2
- CGA-fmjm-96r3-cxmm
- CGA-fp5f-fq5r-2836
- CGA-fpcp-758h-86xj
- CGA-fqrg-w5h8-c6mw
- CGA-fwrm-hwq5-74vh
- CGA-g2j7-374w-24pp
- CGA-g2wv-g895-5hxq
- CGA-g3qw-5c5f-4v9r
- CGA-g44p-wmjc-q6h8
- CGA-g6m7-rf43-7c9p
- CGA-g9p6-78hh-6xr6
- CGA-gcxr-w7xq-2x55
- CGA-ghw6-vxgj-j567
- CGA-gjrq-23r5-3687
- CGA-gmvf-rh84-8342
- CGA-gqc9-632x-x5mf
- CGA-gqfq-r4jf-4f5q
- CGA-h59x-qc9g-w2c6
- CGA-h5pp-56fw-rj25
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-33487.
References
- https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-479m-364c-43vc
- https://access.redhat.com/errata/RHSA-2026:13548
- https://access.redhat.com/errata/RHSA-2026:20943
- https://access.redhat.com/errata/RHSA-2026:20946
- https://access.redhat.com/errata/RHSA-2026:21769
- https://access.redhat.com/errata/RHSA-2026:22347
- https://access.redhat.com/errata/RHSA-2026:22423
- https://access.redhat.com/errata/RHSA-2026:23345
- https://access.redhat.com/errata/RHSA-2026:36882
- https://access.redhat.com/security/cve/CVE-2026-33487
- https://bugzilla.redhat.com/show_bug.cgi?id=2451814
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33487.json