CVE-2026-134880
Remote Code Execution in XML::Sig for Perl via Algorithm Attribute
Critical 9.8 No auth neededRecent
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 80
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Nov 24, 2026
- Updated
- Nov 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-470
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
XML::Sig before version 0.74 for Perl allows remote code execution through the Algorithm attributes in DigestMethod and SignatureMethod. An attacker who submits a signed document can execute arbitrary commands with the privileges of the verifying process, without requiring authentication.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 0.74
Update XML::Sig to version 0.74 or later from CPAN.
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Official sources
References
Links published by the sources. Open them with care.