Back to CVE records
Critical 9.3Published Nov 26, 2025

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

Updated under an hour ago ()

Does this affect you?

It affects TIMLEGGE XML::Sig and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
9.3 CRITICAL (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
Weakness (CWE)
CWE-347
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
CPANSec
NVD analysis
Analyzed
Record last updated
Nov 28, 2025
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
TIMLEGGE XML::Sig
timlegge:xml_sig (from the name)
from 0.27 before 0.68
CNA record
xml::sig_project xml::sig
xml::sig_project:xml::sig
from 0.27 through 0.67
NVD

References

  • issue-tracking, patch
  • patch, issue-tracking

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.