The 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.
An attacker who can submit a signed document can run a command as the verifying process.
Analysis and contextual insights are available on OpenCVE Cloud.
Vendor Solution
Upgrade to XML-Sig 0.74 or later.
Tracking
Sign in to view the affected projects.
No advisories yet.
Wed, 25 Nov 2026 22:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Tue, 24 Nov 2026 21:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Perl
Perl xml::sig |
|
| Vendors & Products |
Perl
Perl xml::sig |
Tue, 24 Nov 2026 11:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Tue, 24 Nov 2026 03:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. The 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. An attacker who can submit a signed document can run a command as the verifying process. | |
| 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 | |
| Weaknesses | CWE-470 | |
| References |
|
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-25T15:34:39.948Z
Reserved: 2026-11-23T01:23:57.320Z
Link: CVE-2026-134880
No data.
Status : Awaiting Analysis
Published: 2026-11-24T04:17:26.247
Modified: 2026-11-25T16:17:42.027
Link: CVE-2026-134880
No data.
OpenCVE Enrichment
Updated: 2026-11-24T21:07:36Z