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

Fri, 28 Nov 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 27 Nov 2025 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Perl
Perl xml::sig
Vendors & Products Perl
Perl xml::sig

Wed, 26 Nov 2025 22:45:00 +0000

Type Values Removed Values Added
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.
Title XML-Sig prior to 0.68 for Perl improperly validates XML without signatures
Weaknesses CWE-347
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2025-11-26T22:34:33.569Z

Updated: 2025-11-28T18:54:00.742Z

Reserved: 2025-04-16T09:05:34.363Z

Link: CVE-2025-40934

cve-icon Vulnrichment

Updated: 2025-11-28T18:53:22.572Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-11-26T23:15:47.773

Modified: 2025-12-01T15:39:33.110

Link: CVE-2025-40934

cve-icon Redhat

No data.