CVE-2025-40934

XML-Sig prior to 0.68 for Perl improperly validates XML without signatures

Published Nov 26, 2025 CVSS 3.1 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to version 0.68

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Xml\
Xml\ \
CPEs cpe:2.3:a:xml\:\:sig_project:xml\:\:sig:*:*:*:*:*:perl:*:*
Vendors & Products Xml\
Xml\ \
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'}

Type Values Removed Values Added
First Time appeared Perl
Perl xml::sig
Vendors & Products Perl
Perl xml::sig
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 28, 2025, 6:54 PM
Reserved
Apr 16, 2025, 9:05 AM
Status
Analyzed
Published
Nov 26, 2025, 11:15 PM
Modified
Oct 18, 2026, 8:10 PM