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

Attackers submitting signed XML documents can run commands as the verifying process via Algorithm attributes; Perl apps verifying untrusted XML with XML::Sig should care.

CVSS score

Critical

9.8/10

CVSS 3.1 · Scored by CISA Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
0.74
Attack path
Over the internet
No login, no user action

What is CVE-2026-134880?

CVE-2026-134880 is a critical code injection vulnerability, published on 24 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-470

How severe is CVE-2026-134880?

CVE-2026-134880 scores 9.8 out of 10 under CVSS 3.1, which is critical severity. It was scored by CISA.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Which versions are affected by CVE-2026-134880?

An affected version is only exploitable if your software calls Digest::SHA->can. Many projects that include it are not exposed.

How do I fix CVE-2026-134880?

Upgrade the affected software to 0.74 or later. The advisory says that version fixes it.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-134880 being exploited?

There is no known exploitation of CVE-2026-134880 in the wild and no public exploit code.

Sources

Also known as GHSA-g668-j8fg-m9x6.

Is CVE-2026-134880 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free