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
- CVSS
- 9.8
- EPSS
- 1.36% (p72)
- Published
- 2026-11-24
- Age
- 5d old
- Modified
- 2026-11-25
- Product
- —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Fixed in
0.74
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | XML-Sig | >=0, <0.74 | 0.74 |
Sources
- NVD · first seen 5d ago · NVD terms of use
- OSV · first seen 5d ago · CC-BY 4.0
- CVE List · first seen 5d ago · CVE Terms of Use
References
- https://github.com/perl-net-saml2/perl-XML-Sig/commit/140489c923bec19ad31e6946a806aa8bc3367cc8.patch patch
- https://metacpan.org/release/TIMLEGGE/XML-Sig-0.74/changes release-notes
- https://cpan.org/modules web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134880.json advisory
- https://github.com/perl-net-saml2/perl-XML-Sig package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134880 advisory
- http://www.openwall.com/lists/oss-security/2026/11/24/3 other