CVE Explorer
CVE-2026-18568
XML::Sig versions from 0.29 before 0.72 for Perl allow signature verification bypass because verify returns true when every signature was skipped before any cryptographic check.
verify in lib/XML/Sig.pm counts the `//dsig:Signature` elements into `$numsigs` and iterates over them, but two paths reach `next` before any digest or key check runs: a `SignedInfo/Reference/@URI` that resolves to no element while `$numsigs` is greater than 1, and, when `id_attr` is set, a reference that does not match
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"}],"repo":"https://github.com/perl-net-saml2/perl-XML-Sig","vendor":"TIMLEGGE","versions":[{"lessThan":"0.72","status":"affected","version":"0.29","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:82b1b85a9ff5bee80eb18d0da4bddb9a5742ea643a5416f34d620dafd927c345 · sha256:3f945454de3ef33c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:82b1b85a9ff5bee80eb18d0da4bddb9a5742ea643a5416f34d620dafd927c345 · sha256:3f945454de3ef33c… · /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:82b1b85a9ff5bee80eb18d0da4bddb9a5742ea643a5416f34d620dafd927c345 · sha256:3f945454de3ef33c… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"tags":["patch"],"url":"https://github.com/perl-net-saml2/perl-XML-Sig/commit/ef22cfed1ac0f29b316d17eb79cf6480e03ae16a.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:82b1b85a9ff5bee80eb18d0da4bddb9a5742ea643a5416f34d620dafd927c345 · sha256:3f945454de3ef33c… · /containers/cna/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/TIMLEGGE/XML-Sig-0.72/changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:82b1b85a9ff5bee80eb18d0da4bddb9a5742ea643a5416f34d620dafd927c345 · sha256:3f945454de3ef33c… · /containers/cna/references/1
{"tags":["related"],"url":"https://www.cve.org/CVERecord?id=CVE-2025-40934"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:82b1b85a9ff5bee80eb18d0da4bddb9a5742ea643a5416f34d620dafd927c345 · sha256:3f945454de3ef33c… · /containers/cna/references/2
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.