CVE Catalog

CVE-2026-33487

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

22th percentile - higher than 22% of all known CVEs

Summary

In goxmlsig versions prior to 1.6.0, there is a loop variable capture vulnerability in the validateSignature function. This causes the ref pointer to always point to the last element in the References slice, potentially leading to incorrect XML signature validation.

Risk Assessment

The organization may accept invalid or forged XML digital signatures, allowing an attacker to manipulate data or impersonate trusted sources.

Recommendation

Immediately update goxmlsig to version 1.6.0 or later, which includes a fix for this vulnerability.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS