CPANSA-XML-Sig-2025-40934: XML-Sig vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2025-11-26T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2025-11-26T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 9.3 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
XML-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.
Vulnerabilities
CVE-2025-40934
Vulnerability DescriptionXML-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.
| Weakness | CWE-347 : Improper Verification of Cryptographic Signature |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| XML-Sig greater than or equal 0.27 and less than or equal 0.67 |
|
Fixed
- XML-Sig greater than or equal 0.68
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-XML-Sig-2025-40934 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2025/cpansa-xml-sig-2025-40934.json - https://github.com/perl-net-saml2/perl-XML-Sig/issues/63 external
https://github.com/perl-net-saml2/perl-XML-Sig/issues/63 - https://github.com/perl-net-saml2/perl-XML-Sig/pull/64 external
https://github.com/perl-net-saml2/perl-XML-Sig/pull/64 - CVE-2025-40934 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2025-40934
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Wed Nov 26 00:00:00 2025 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/