CVE-2026-9487CWE-347

CVE-2026-9487

Critical · published August 3, 2026

CVSS v3.1
9.1
EPSS
0%
Percentile
19.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00276 · 19.0th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2026-08-03T18:16Z
Affected products (1)
ProductVersionsFixed in
xml\/\< 0.710.71
References (2)
EPSS history
Timeline
  • 03 AUG 13:14Z
    XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID
    cvelistv5