CVE-2026-9487: XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID

Published Aug 3, 2026
·
Updated

XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID.

getsignedxml() 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.

Affected Software

1 affected component
CPAN Perl XML::Sig<0.71

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade XML::Sig (Perl) to a version that resolves this vulnerability.

    Fixed in 0.71

Event History

Aug 3, 2026
CVE Published
via MITRE·01:14 PM
Data Sourced
via MITRE·01:14 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9487?

CVE-2026-9487 has a risk severity rating of 70.

2

How do I fix CVE-2026-9487?

To fix CVE-2026-9487, upgrade to XML::Sig version 0.71 or later.

3

What software is affected by CVE-2026-9487?

CVE-2026-9487 affects the CPAN Perl XML::Sig library versions prior to 0.71.

4

What is the impact of CVE-2026-9487?

CVE-2026-9487 allows for signature wrapping attacks via duplicate ID in XML documents.

5

When was CVE-2026-9487 published?

CVE-2026-9487 was published on August 3, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203