goxmlsig provides XML Digital Signatures implemented in Go. Prior to version 1.6.0, the `validateSignature`…
Historical advisory recorded 25 Oct 2026 08:17:24 UTC. Read the latest advisory.
nvd · CVE-2026-33487
Publishedgoxmlsig 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-33487
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-347 · CWE-682
Original publisher date fields
published: 2026-03-26T18:16:30.070
lastModified: 2026-09-09T13:19:24.923
1 source CPE criteria · context only
- cpe:2.3:a:goxmldsig_project:goxmldsig:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON