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 Nov 24, 2026
·
Updated

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 Software

0 affected components

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade XML-Sig to a version that resolves this vulnerability.

    Fixed in 0.74

Event History

Nov 24, 2026
CVE Published
via MITRE·03:01 AM
Data Sourced
via MITRE·03:01 AM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using XML::Sig for Perl before version 0.74 are affected when they verify signed XML documents that an attacker can submit to the verifying process.

2

What does an attacker need to exploit this issue?

The attacker needs the ability to submit a signed document for verification. They control the DigestMethod or SignatureMethod Algorithm attribute, which selects a fully qualified function name, and the referenced element's canonical form becomes that function's argument.

3

Does exploitation require a valid signature?

The available information states that an attacker who can submit a signed document can run a command as the verifying process. It does not establish whether an invalid or unsigned document reaches the vulnerable function call.

4

What privileges would successful exploitation have?

Commands run with the privileges of the process performing XML signature verification.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203