CVE-2025-40934

critical

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.

References

https://github.com/perl-net-saml2/perl-XML-Sig/pull/64

https://github.com/perl-net-saml2/perl-XML-Sig/issues/63

Details

Source: Mitre, NVD

Published: 2025-11-26

Updated: 2025-12-30

Risk Information

CVSS v2

Base Score: 8.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:C/A:N

Severity: High

CVSS v3

Base Score: 9.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N

Severity: Critical

EPSS

EPSS: 0.00013