CVE-2025-40934

published 26 Nov 2025 · updated 28 Nov 2025

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

9.3CriticalCVSS 9.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.68.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
TIMLEGGE>=0.27 <0.680.68

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40934 severity on Zeptric[![CVE-2025-40934](https://zeptric.io/badge/cve/CVE-2025-40934.svg)](https://zeptric.io/cve/CVE-2025-40934)