CVE-2026-134880
JSON

9.8critical

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
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.36% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

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.

Affected

Product or packageVersionsReported by
XML-Sigbefore 0.74CVE List

Classification

CWE-470

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-134880 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-134880 changed 2026-11-25Public domain