Skip to content
OpenAdvisories
High · 7.5 CVE-2026-33487 EUVD-2026-16281GHSA-479m-364c-43vcGO-2026-4753

goxmldsig has validateSignature Loop Variable Capture Signature Bypass

Published Mar 26, 2026 · Updated Sep 9, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
russellhaering goxmldsig < 1.6.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed velociraptor 0.7.0.4.git185.a5708584-2.1 openSUSE-SU-2026:11126-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260402T184258-150000.1.158.1 SUSE-SU-2026:1205-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling dex 2.45.1-r4 —
Wolfi rolling mattermost-11.1 11.10.0-r0 —
Wolfi rolling mattermost-11.5 11.5.1-r2 —
Wolfi rolling rancher-2.13 +1 2.13.3-r4 —
Wolfi rolling teleport-18.6 +2 18.6.8-r6 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/russellhaering/goxmldsig < 1.6.0 1.6.0 GHSA-479m-364c-43vc

Advisories 3

References