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

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-26T22:34:33.569Z

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

Link: CVE-2025-40934

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2025-40934

cve-icon Redhat

No data.