CVE-2026-9487
Reported by CPANSec · Published August 3, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| TIMLEGGE | XML::Sig | 0 |
| alpine | perl-xml-sig | 0 |
| TIMLEGGE | XML::Sig | 0 |
Timeline
- Aug 3, 2026 Coalition ESS Score
- Aug 3, 2026 CVE Published
- Aug 3, 2026 CVE Updated
- Aug 4, 2026 Security Advisory
- Aug 7, 2026 EPSS Score
- Aug 24, 2026 EPSS Score
- Sep 5, 2026 EPSS Score
- Sep 16, 2026 EPSS Score
- Sep 24, 2026 EPSS Score
- Sep 26, 2026 EPSS Score
- Sep 30, 2026 EPSS Score
- Oct 3, 2026 EPSS Score