9.3Critical

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

TIMLEGGE XML::Sig Published: (11 months ago)

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.

Weakness (CWE): CWE-347

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
TIMLEGGE XML::Sig 0.27 – < 0.68

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:xml\:\:sig_project:xml\:\:sig:*:*:*:*:*:perl:*:* ≥ 0.27 ≤ 0.67