Back to CVE records
Critical 9.1Published Aug 3, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects TIMLEGGE XML::Sig and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
9.1 CRITICAL (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-347
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
CPANSec
NVD analysis
Analyzed
Record last updated
Aug 3, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
TIMLEGGE XML::Sig
timlegge:xml_sig (from the name)
before 0.71
CNA record
xml::sig_project xml::sig
xml::sig_project:xml::sig
before 0.71
NVD

References

  • patch
  • release-notes

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.