CVE-2026-9487
published critical CVSS 3.1 · 9.1XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TIMLEGGE | — | XML-SigXML::Sig · 0 to < 0.71 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Alpine Linux | edge | perl-xml-sig | Fixed | 0.72-r0 | Package fix record |
Description
XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID. _get_signed_xml() in lib/XML/Sig.pm, called from verify(), resolves the SignedInfo Reference/@URI to a node with the XPath expression "//*[@ID='$id']" and returns the first node of the resulting node set. A document in which two elements share that ID value is accepted: the digest and signature are checked against whichever element comes first in document order, and the duplicate is not detected. Such a document verifies successfully while an application that resolves the same ID independently can read the second, attacker supplied element; in a SAML2 context this places the contents of an Assertion under attacker control.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TIMLEGGE | XML::Sig | 0 to < 0.71 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-347 CWE-347 Improper Verification of Cryptographic Signature
References
2Provider assertions
2CPANSec · cna
XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 64120b25154a65964fc4b97964ca39a38ca430c331ee1d45af3196d0b961cf12
- Ingested
- 23 Sep 2026, 09:41:39 UTC
- Source record
- Official CVE record