Home / elixir-protobuf / protobuf / CVE-2026-104635
CVE-2026-104635: is it exploited, and which versions of elixir-protobuf protobuf are affected and fixed?
CVE-2026-104635 is an uncontrolled recursion vulnerability in elixir-protobuf protobuf. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:08 UTC). Affected: protobuf from 0.8.0 before 0.17.1 (CVE record by EEF). Fixed in 0.17.1 (CVE record by EEF). Severity: High (8.2, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 08:34 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-104635?
Uncontrolled recursion in elixir-protobuf/protobuf JSON decoding of self-referential messages
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.
From the CVE record by EEF, last updated November 19, 2026, 08:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| elixir-protobuf | protobuf | from 0.8.0 before 0.17.1 | 0.17.1 |
| elixir-protobuf | protobuf elixir-protobuf/protobuf | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-104635?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 4.0 | 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 | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-104635 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, October 15, 2026)
- EPSS
- 0.50% probability of exploitation activity in the next 30 days, percentile 44.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-674 Uncontrolled Recursion
Is there a workaround? (from the CVE record)
Reject JSON documents whose nesting depth exceeds a fixed bound at the web or middleware layer before passing them to the decoder. No decoder option limits recursion for user-defined message types, so the check must happen before Protobuf.JSON.decode/3, Protobuf.JSON.decode!/3, or Protobuf.JSON.from_decoded/3 is called.
Where are the vendor advisories and references?
- GitHub Advisory related, vendor-advisory
- EEF CNA record for CVE-2026-104635 related
- OSV record EEF-CVE-2026-104635 related
- Introducing commit b0a1d4e in elixir-protobuf/protobuf related
- Fix commit e9432ad in elixir-protobuf/protobuf patch
Who found and reported it?
- Daniel Coles (finder)
- Daniel Coles (reporter)
- Jonatan Männchen / EEF (coordinator)
- Andrea Leopardi (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 8, 2026
- Published
- October 9, 2026, 08:17 UTC
- CVE record updated
- November 19, 2026, 08:21 UTC by EEF
- NVD
- Deferred, last modified October 15, 2026, 16:17 UTC
- Last checked
- CVE list November 19, 2026, 08:34 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect protobuf?
- Sep 17, 2026CVE-2026-54451 elixir-protobuf protobuf: uncontrolled recursion
Questions about CVE-2026-104635
Is CVE-2026-104635 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 0.50% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of elixir-protobuf protobuf are affected by CVE-2026-104635?
protobuf from 0.8.0 before 0.17.1, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-104635?
0.17.1, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-104635?
High (8.2, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-104635?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.