AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.

Summary

XML::Sig for Perl before 0.74 resolves the text after the last ‘#’ in the DigestMethod and SignatureMethod Algorithm attributes to a function name via Digest::SHA->can. This lets a crafted document cause calls to arbitrary fully qualified functions, including CORE builtins, enabling code execution.

Impact: code execution via crafted signed XML

Affected technologies

  • XML::Sig (Perl) < 0.74

Upgrade XML::Sig to version 0.74 or later and avoid verifying untrusted XML documents with vulnerable versions.

Details

   
CVSS 9.8 (Critical)
Vendor / product Vendor not specified
Published 2026-11-24
Weakness CWE-470
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Original 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 fu

References

← Threat intelligence dashboard