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 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.

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
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N 9.3 Critical
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

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/