CVE 9.3 CRITICAL

XML-Sig prior to 0.68 for Perl improperly validates XML without signatures_CVE-2025-40934

9.3 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N

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.

AI Analysis

XML-Sig improperly validates XML files without signatures, allowing an attacker to bypass verification checks by removing the signature from the XML document.

Basic Information

ID CVE-2025-40934
Source CPANSec
Published Nov 26, 2025 at 22:34
Modified Nov 28, 2025 at 18:54

Affected Product

Vendor TIMLEGGE
Product XML::Sig
Version 0.27
Affected Versions TIMLEGGE XML::Sig 0.27

CWE Classification

AI Assessment

AI Score 9.3 / 10
AI Severity Critical
Vendor TIMLEGGE
Product XML-Sig
Version 0.27-0.67

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.