CVE Explorer
CVE-2026-9487
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"XML-Sig","product":"XML::Sig","programFiles":["lib/XML/Sig.pm"],"programRoutines":[{"name":"XML::Sig::verify"},{"name":"XML::Sig::_get_signed_xml"}],"repo":"https://github.com/perl-net-saml2/perl-XML-Sig","vendor":"TIMLEGGE","versions":[{"lessThan":"0.71","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:db4e15e2d7f482fd68ec9a858de19a3301e1b7623fcce42454ccd6b8d3d6fe99 · sha256:580696ef0b66a86e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:db4e15e2d7f482fd68ec9a858de19a3301e1b7623fcce42454ccd6b8d3d6fe99 · sha256:580696ef0b66a86e… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-347","description":"CWE-347 Improper Verification of Cryptographic Signature","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:db4e15e2d7f482fd68ec9a858de19a3301e1b7623fcce42454ccd6b8d3d6fe99 · sha256:580696ef0b66a86e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["patch"],"url":"https://github.com/perl-net-saml2/perl-XML-Sig/commit/4976bde5245df69b8e02c6ae061acbd4891cd7f9.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:db4e15e2d7f482fd68ec9a858de19a3301e1b7623fcce42454ccd6b8d3d6fe99 · sha256:580696ef0b66a86e… · /containers/cna/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/TIMLEGGE/XML-Sig-0.71/source/Changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:db4e15e2d7f482fd68ec9a858de19a3301e1b7623fcce42454ccd6b8d3d6fe99 · sha256:580696ef0b66a86e… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.