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.
References
Configurations
No configuration.
History
25 Nov 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
24 Nov 2026, 11:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
24 Nov 2026, 04:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-24 04:17
Updated : 2026-11-25 16:17
NVD link : CVE-2026-134880
Mitre link : CVE-2026-134880
CVE.ORG link : CVE-2026-134880
JSON object : View
Products Affected
No product.
CWE
CWE-470
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
