Skip to content

CVE-2026-54451 Elixir protobuf: Unbounded recursion depth in embedded-message decoding

HighCVSS 8.2 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Red Hat

Description

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.

Upgrade path

3 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) All versions No fix listed No fix yet
hex protobuf(Hex) >= 0.8.0, < 0.16.1 0.16.1 Fixed
elixir-protobuf protobuf = >= 0.8.0, < 0.16.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
elixir-protobuf protobuf = >= 0.8.0, < 0.16.1 No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) All versions No fix listed
hex protobuf(Hex) >= 0.8.0, < 0.16.1 0.16.1

References