CVE-2026-33487
published 2026-03-26CVE-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…
PriorityP343high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
0.30%
21.7th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | russellhaering_goxmldsig | >= 0 < 1.6.0 | 1.6.0 |
| goxmldsig_project | goxmldsig | < 1.6.0 | 1.6.0 |
| russellhaering | goxmldsig | < 1.6.0 | 1.6.0 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
russellhaering goxmldsig up to 1.5.x XML Digital Signature validateSignature signature verification (Nessus ID 304089)
vuldb·2026-07-01·CVSS 7.5
CVE-2026-33487 [HIGH] russellhaering goxmldsig up to 1.5.x XML Digital Signature validateSignature signature verification (Nessus ID 304089)
A vulnerability, which was classified as problematic, was found in russellhaering goxmldsig up to 1.5.x. Affected by this issue is the function validateSignature of the component XML Digital Signature Handler. Such manipulation leads to improper verification of cryptographic signature.
This vulnerability is traded as CVE-2026-33487. The attack may be launched remotely. There is no exploit available.
You should upgrade the affected component.
OSV
Loop Variable Capture Signature Bypass in goxmldsig in github.com/russellhaering/goxmldsig
osv·2026-03-27
CVE-2026-33487 Loop Variable Capture Signature Bypass in goxmldsig in github.com/russellhaering/goxmldsig
Loop Variable Capture Signature Bypass in goxmldsig in github.com/russellhaering/goxmldsig
Loop Variable Capture Signature Bypass in goxmldsig in github.com/russellhaering/goxmldsig
GHSA
validateSignature Loop Variable Capture Signature Bypass in goxmldsig
ghsa·2026-03-18
CVE-2026-33487 [HIGH] CWE-347 validateSignature Loop Variable Capture Signature Bypass in goxmldsig
validateSignature Loop Variable Capture Signature Bypass in goxmldsig
### Details
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.
### Technical Details
The code takes the address of a loop iteration variable (&_ref). In the standard Go compiler, this variable is only allocated once for the whol
OSV
validateSignature Loop Variable Capture Signature Bypass in goxmldsig
osv·2026-03-18
CVE-2026-33487 [HIGH] validateSignature Loop Variable Capture Signature Bypass in goxmldsig
validateSignature Loop Variable Capture Signature Bypass in goxmldsig
### Details
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.
### Technical Details
The code takes the address of a loop iteration variable (&_ref). In the standard Go compiler, this variable is only allocated once for the whol
Red Hat
github.com/russellhaering/goxmldsig: goxmlsig: Integrity bypass due to incorrect XML Digital Signature validation via loop variable capture issue
vendor_redhat·2026-03-26·CVSS 7.5
CVE-2026-33487 [HIGH] CWE-347 github.com/russellhaering/goxmldsig: goxmlsig: Integrity bypass due to incorrect XML Digital Signature validation via loop variable capture issue
github.com/russellhaering/goxmldsig: goxmlsig: Integrity bypass due to incorrect XML Digital Signature validation via loop variable capture issue
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.
No detection rules found.
No public exploits indexed.
https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-479m-364c-43vchttps://access.redhat.com/errata/RHSA-2026:13548https://access.redhat.com/errata/RHSA-2026:20943https://access.redhat.com/errata/RHSA-2026:20946https://access.redhat.com/errata/RHSA-2026:21769https://access.redhat.com/errata/RHSA-2026:22347https://access.redhat.com/errata/RHSA-2026:22423https://access.redhat.com/errata/RHSA-2026:23345https://access.redhat.com/errata/RHSA-2026:36882https://access.redhat.com/security/cve/CVE-2026-33487https://bugzilla.redhat.com/show_bug.cgi?id=2451814https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33487.json
2026-03-26
Published