CVE-2026-134880
AI summary
XML::Sig for Perl before 0.74 lets a document's DigestMethod and SignatureMethod Algorithm attribute select an arbitrary Perl function to call during verification. An attacker who can submit a signed document can run commands as the verifying process. Critical (CVSS 9.8); upgrade to 0.74 or later.
Official 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.
- Published
- 2026-11-24 04:17 UTC
- Modified
- 2026-11-25 16:17 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.44% (percentile 30)
- ENISA EUVD
- EUVD-2026-133603
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-470
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/perl-net-saml2/perl-XML-Sig/commit/140489c923bec19ad31e6946a806aa8bc3367cc8.patch - metacpan.org
https://metacpan.org/release/TIMLEGGE/XML-Sig-0.74/changes - www.openwall.com
http://www.openwall.com/lists/oss-security/2026/11/24/3