{"api_version":"1","generated_at":"2026-11-24T08:27:16+00:00","cve":"CVE-2026-134880","urls":{"html":"https://cve.report/CVE-2026-134880","api":"https://cve.report/api/cve/CVE-2026-134880.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-134880","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-134880"},"summary":{"title":"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","description":"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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-11-24 04:17:26","updated_at":"2026-11-24 04:17:26"},"problem_types":["CWE-470","CWE-470 CWE-470 Use of Externally-Controlled Input to Select Classes or Code"],"metrics":[],"references":[{"url":"https://metacpan.org/release/TIMLEGGE/XML-Sig-0.74/changes","name":"https://metacpan.org/release/TIMLEGGE/XML-Sig-0.74/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/perl-net-saml2/perl-XML-Sig/commit/140489c923bec19ad31e6946a806aa8bc3367cc8.patch","name":"https://github.com/perl-net-saml2/perl-XML-Sig/commit/140489c923bec19ad31e6946a806aa8bc3367cc8.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-134880","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134880","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to XML-Sig 0.74 or later.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["XML::Sig"],"packageName":"XML-Sig","packageURL":"pkg:cpan/XML-Sig","programFiles":["lib/XML/Sig.pm"],"programRoutines":[{"name":"XML::Sig::verify"}],"repo":"https://github.com/perl-net-saml2/perl-XML-Sig","versions":[{"lessThan":"0.74","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-470","description":"CWE-470 Use of Externally-Controlled Input to Select Classes or Code","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-24T03:01:58.552Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["patch"],"url":"https://github.com/perl-net-saml2/perl-XML-Sig/commit/140489c923bec19ad31e6946a806aa8bc3367cc8.patch"},{"tags":["release-notes"],"url":"https://metacpan.org/release/TIMLEGGE/XML-Sig-0.74/changes"}],"solutions":[{"lang":"en","value":"Upgrade to XML-Sig 0.74 or later."}],"source":{"discovery":"UNKNOWN"},"title":"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","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-134880","datePublished":"2026-11-24T03:01:58.552Z","dateReserved":"2026-11-23T01:23:57.320Z","dateUpdated":"2026-11-24T03:01:58.552Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-24 04:17:26","lastModifiedDate":"2026-11-24 04:17:26","problem_types":["CWE-470","CWE-470 CWE-470 Use of Externally-Controlled Input to Select Classes or Code"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"134880","Ordinal":"1","Title":"XML::Sig versions before 0.74 for Perl allow code execution via ","CVE":"CVE-2026-134880","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"134880","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"XML::Sig versions before 0.74 for Perl allow code execution via "}]}}}