{ "document": { "aggregate_severity": { "text": "critical" }, "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 before 0.74 for Perl allow code execution via a document's Algorithm attribute that verify resolves to a function name and calls.\n\nThe text after the last `#` in the DigestMethod and SignatureMethod Algorithm attributes is looked up with Digest::SHA->can. That returns a code reference for any fully qualified function name, Perl builtins in the CORE namespace included. The digest function is called on the canonical form of the referenced element, so the document picks both the function and its argument.\n\nAn attacker who can submit a signed document can run a command as the verifying process.", "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-2026-134880 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-xml-sig-2026-134880.json" }, { "category": "external", "summary": "https://github.com/perl-net-saml2/perl-XML-Sig/commit/140489c923bec19ad31e6946a806aa8bc3367cc8.patch", "url": "https://github.com/perl-net-saml2/perl-XML-Sig/commit/140489c923bec19ad31e6946a806aa8bc3367cc8.patch" }, { "category": "external", "summary": "https://metacpan.org/release/TIMLEGGE/XML-Sig-0.74/changes", "url": "https://metacpan.org/release/TIMLEGGE/XML-Sig-0.74/changes" }, { "category": "external", "summary": "http://www.openwall.com/lists/oss-security/2026/11/24/3", "url": "http://www.openwall.com/lists/oss-security/2026/11/24/3" }, { "category": "external", "summary": "CVE-2026-134880 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134880" } ], "title": "XML-Sig vulnerability", "tracking": { "current_release_date": "2026-11-24T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-XML-Sig-2026-134880", "initial_release_date": "2026-11-24T00:00:00", "revision_history": [ { "date": "2026-11-24T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/<0.74", "product": { "name": "XML-Sig less than 0.74", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/XML-Sig" } } }, { "category": "product_version_range", "name": "vers:cpan/>=0.74", "product": { "name": "XML-Sig greater than or equal 0.74", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/XML-Sig" } } } ], "category": "product_name", "name": "XML-Sig" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-134880", "cwe": { "id": "CWE-470", "name": "Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')" }, "notes": [ { "category": "description", "text": "XML::Sig versions before 0.74 for Perl allow code execution via a document's Algorithm attribute that verify resolves to a function name and calls.\n\nThe text after the last `#` in the DigestMethod and SignatureMethod Algorithm attributes is looked up with Digest::SHA->can. That returns a code reference for any fully qualified function name, Perl builtins in the CORE namespace included. The digest function is called on the canonical form of the referenced element, so the document picks both the function and its argument.\n\nAn attacker who can submit a signed document can run a command as the verifying process.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 9.8, "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }