CVE-2025-40934
CRITICAL 9.3CVSS 3.1XML-Sig versions 0.27 through 0.67 for Perl incorrectly validates XML files if signatures are omitted.
An attacker can remove the signature from the XML document to make it pass the verification check.
XML-Sig is a Perl module to validate signatures on XML files. An unsigned XML file should return an error message. The affected versions return true when attempting to validate an XML file that contains no signatures.
- Published
- 26 Nov 2025
- Last modified
- 18 Oct 2026
- Assigned by
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- NVD status
- Analyzed
- Weakness
- CWE-347
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xml::sig_project | xml::sigcpe:2.3:a:xml\:\:sig_project:xml\:\:sig:*:*:*:*:*:perl:*:* |
>= 0.27, <= 0.67 |
References
- https://github.com/perl-net-saml2/perl-XML-Sig/issues/63 · Issue Tracking, Patch
- https://github.com/perl-net-saml2/perl-XML-Sig/pull/64 · Issue Tracking
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 26 Nov 2025)