Back to CVE catalog
CVE-2026-104635

Uncontrolled recursion in elixir-protobuf JSON decoder

elixir-protobuf protobuf

At a glance

Uncontrolled Recursion vulnerability in Protobuf.JSON.Decode in elixir-protobuf protobuf allows an unauthenticated remote attacker to crash the decoding process via a deeply nested JSON document. Any application that decodes attacker-supplied JSON with Protobuf.JSON.decode/3, Protobuf.JSON.decode!/3, or Protobuf.JSON.from_decoded/3 into a schema that contains a self-referential or cyclic message type is affected. In lib/protobuf/json/decode.ex, the embedded-message clause of decode_singular/3 recurses into internal_from_json_data/3 once per nesting level without incrementing or checking the decoder's depth counter. The depth guard increase_depth_and_maybe_throw/1 covers only the Google.Protobuf.ListValue and Google.Protobuf.Struct clauses, so the recursion_limit option has no effect on user-defined message types. Each nesting level allocates a stack frame and heap objects, and a sufficiently deep document exhausts the memory of the decoding process. Confidentiality and integrity are not affected. This issue affects protobuf: from 0.8.0 before 0.17.1.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v4.0

8.2High
Published:
Updated:
EPSS:
0.673%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:elixir-protobufprotobufAffected versions:
≥ 0.8.0, < 0.17.1Show full version range for protobuf

Git commit ranges (source code)

  • From commit b0a1d4eaffaf50012fa71a8e931a47cf252d0370; before commit e9432ad1c4099511905353cebcececa3a1f7c3ff
Vendor:PythonProtobufAffected versions:
b0a1d4eaffaf50012fa71a8e931a47cf252d0370 <e9432ad1c4099511905353cebcececa3a1f7c3ffShow full version range for Protobuf
0.8.0 <0.17.1
Vendor:Red HatOpenShift Service Mesh 3Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat AMQ ClientsAffected versions:Source does not specify a version range
Vendor:Red HatRed Hat Ansible Automation Platform 2Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Ceph Storage 9Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 10Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 7Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 8Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 9Affected versions:Source does not specify a version range

1–10 of 15 · Page 1 of 2

CVSS scores and metrics5
EEF · CVE List / CNA (cna)Primary8.2 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
None

Source vector

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
6b3ad84c-e1a6-4bf7-a703-f496b71e49db · NVD (Secondary)8.2 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
None

Source vector

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CNA · OSV (source-vector)8.2 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
None

Source vector

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
ENISA · ENISA EUVD (aggregator)8.2 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
None

Source vector

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
Red Hat · Red Hat VEX (adp)5.9 / 10MediumCVSS 3.1Details
Attack complexity
High
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

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

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories11

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences