freenode

← CVE tracker

CVE-2026-134880

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

Severity
critical CVSS 9.8 (v3.1)
Weakness
CWE-470 Use of Externally-Controlled Input to Select Classes or Code
Published
24 November 2026 by CPANSec
First seen on our lists
24 November 2026
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists