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
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cpan XML-Sig | < 0.74 | 0.74 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cpan XML-Sig | < 0.74 | 0.74 |
References
- github.com patch
- metacpan.org release-notes
- ENISA EUVD EUVD-2026-133603 third-party-advisory
- nvd.nist.gov
- www.openwall.com