{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "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.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-XML-Sig-2025-40934 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2025/cpansa-xml-sig-2025-40934.json" }, { "category": "external", "summary": "https://github.com/perl-net-saml2/perl-XML-Sig/issues/63", "url": "https://github.com/perl-net-saml2/perl-XML-Sig/issues/63" }, { "category": "external", "summary": "https://github.com/perl-net-saml2/perl-XML-Sig/pull/64", "url": "https://github.com/perl-net-saml2/perl-XML-Sig/pull/64" }, { "category": "external", "summary": "CVE-2025-40934 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-40934" } ], "title": "XML-Sig vulnerability", "tracking": { "current_release_date": "2025-11-26T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-XML-Sig-2025-40934", "initial_release_date": "2025-11-26T00:00:00", "revision_history": [ { "date": "2025-11-26T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/>=0.27|<=0.67", "product": { "name": "XML-Sig greater than or equal 0.27 and less than or equal 0.67", "product_id": "CSAFPID-0001" } }, { "category": "product_version_range", "name": "vers:cpan/>=0.68", "product": { "name": "XML-Sig greater than or equal 0.68", "product_id": "CSAFPID-0002" } } ], "category": "product_name", "name": "XML-Sig" } ] }, "vulnerabilities": [ { "cve": "CVE-2025-40934", "cwe": { "id": "CWE-347", "name": "Improper Verification of Cryptographic Signature" }, "notes": [ { "category": "description", "text": "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.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 9.3, "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }