{"id":"CVE-2025-40934","state":"PUBLISHED","title":"XML-Sig prior to 0.68 for Perl improperly validates XML without signatures","description":"XML-Sig versions 0.27 through 0.67 for Perl incorrectly validates XML files if signatures are omitted.\n\nAn attacker can remove the signature from the XML document to make it pass the verification check.\n\nXML-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.","publishedAt":"2025-11-26T22:34:33.569Z","updatedAt":"2025-11-28T18:54:00.742Z","severity":{"score":9.3,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["TIMLEGGE XML::Sig"],"affected":[{"vendor":"TIMLEGGE","product":"XML::Sig","packageName":"XML-Sig","defaultStatus":"unaffected","versions":[{"version":"0.27","status":"affected","lessThan":"0.68","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/XML/Sig.pm"],"programRoutines":[{"name":"verify()"}],"repo":"https://github.com/perl-net-saml2/perl-XML-Sig"}],"references":["https://github.com/perl-net-saml2/perl-XML-Sig/issues/63","https://github.com/perl-net-saml2/perl-XML-Sig/pull/64"],"weaknesses":["CWE-347"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/40xxx/CVE-2025-40934.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40934","state":"PUBLISHED","datePublished":"2025-11-26T22:34:33.569Z","dateUpdated":"2025-11-28T18:54:00.742Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2025-04-16T09:05:34.363Z"},"containers":{"cna":{"title":"XML-Sig prior to 0.68 for Perl improperly validates XML without signatures","descriptions":[{"lang":"en","value":"XML-Sig versions 0.27 through 0.67 for Perl incorrectly validates XML files if signatures are omitted.\n\nAn attacker can remove the signature from the XML document to make it pass the verification check.\n\nXML-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":[{"vendor":"TIMLEGGE","product":"XML::Sig","packageName":"XML-Sig","defaultStatus":"unaffected","versions":[{"version":"0.27","status":"affected","lessThan":"0.68","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/XML/Sig.pm"],"programRoutines":[{"name":"verify()"}],"repo":"https://github.com/perl-net-saml2/perl-XML-Sig"}],"references":[{"url":"https://github.com/perl-net-saml2/perl-XML-Sig/issues/63","tags":["issue-tracking"]},{"url":"https://github.com/perl-net-saml2/perl-XML-Sig/pull/64","tags":["patch"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","description":"CWE-347 Improper Verification of Cryptographic Signature","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2025-11-26T22:34:33.569Z"},"credits":[{"lang":"en","type":"finder","value":"gttds"}],"impacts":[{"capecId":"CAPEC-115","descriptions":[{"lang":"en","value":"CAPEC-115 Authentication Bypass"}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Upgrade to version 0.68"}],"value":"Upgrade to version 0.68"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":9.3,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-11-28T18:50:44.544431Z","id":"CVE-2025-40934","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-28T18:54:00.742Z"}}]}}}