cve.bz

CVE-2026-54451 elixir-protobuf protobuf: Uncontrolled Recursion

8.2 highEPSS 0.5%Fix available

High (8.2) in elixir-protobuf protobuf. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in protobuf 0.16.1.

On this page
Elixir protobuf is a pure Elixir implementation of Google Protobuf. From 0.8.0 until 0.16.1, services that decode attacker-controlled protobuf bytes with Protobuf.Decoder can be taken offline when the schema contains a self-referential or cyclic message type. In lib/protobuf/decoder.ex, Protobuf.Decoder.value_for_field/3 handles an embedded?: true field by recursively entering the decode / build_message / handle_value / value_for_field call chain without enforcing a nesting-depth limit. Deeply nested embedded fields retain non-tail recursive frames, allowing a comparatively small request to consume substantial CPU and memory, pin a BEAM scheduler, and exhaust the node. This issue is fixed in version 0.16.1.

Severity

CVSS 4.0

8.2 high
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-09-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • protobuf (Hex): fixed in 0.16.1

Ask an AI about this CVE

Show the promptExplain CVE-2026-54451 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54451?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54451?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-54451 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
elixir-protobuf protobuf>= 0.8.0, < 0.16.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rv48-qqj5-crxgHexprotobuf>=0.8.0 <0.16.10.16.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTSelixirno fix listedUBUNTU-CVE-2026-54451

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

An IMPORTANT severity denial of service flaw exists in the Elixir protobuf library, a pure Elixir implementation of Google Protocol Buffers. When a service uses Protobuf.Decoder to decode attacker-controlled protobuf bytes and the schema contains a self-referential or cyclic message type, the value_for_field function recurses into embedded messages without enforcing a nesting-depth limit. Because deeply nested embedded fields retain non-tail recursive stack frames, a comparatively small crafted request can consume substantial CPU and memory, pin a BEAM scheduler, and exhaust the node, taking the decoding service offline. Exploitation requires no authentication, privileges, or user interaction; the attacker only needs to supply crafted protobuf input to a service that decodes it.

Red Hat Product Security rated this flaw CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), while the upstream CVSS 4.0 score is 8.2. The difference reflects upstream's assessment that exploitation is subject to attack requirements, whereas Red Hat assesses low attack complexity for services that decode untrusted protobuf input.

Within the Red Hat portfolio, OpenShift Container Platform is affected through the RHEL CoreOS components (openshift/ose-rhel-coreos-8 and openshift/ose-rhel-coreos-9) across OpenShift 4 and OpenShift 5 update streams; the fix is being pursued by the responsible product teams under delegated resolution. The Red Hat Hardened Images (hummingbird) components are not affected, as the affected Elixir protobuf decoder is not present in those images.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. The upstream Elixir protobuf project addressed this issue in the 0.16.1 release of the protobuf Hex package; services that decode untrusted protobuf data should update their Elixir protobuf dependency to a release that includes this fix.

ProductPackageStateAdvisory
Red Hat Hardened ImagesjaegerNot affected
Red Hat Hardened ImagesllvmNot affected
Red Hat Hardened ImagesopenshellNot affected
Red Hat Hardened ImagesprotobufNot affected
Red Hat Hardened ImagesrustNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-54451.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON