Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-104635

HIGH 8.2PoCEPSS 47%

Uncontrolled recursion in elixir-protobuf/protobuf JSON decoding of self-referential messages

Mitigation

  • Upgrade protobuf to 0.17.1 or later.
  • Vendor workaround: 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.

Who should check

  • Anyone running elixir-protobuf protobuf >= 0.8.0, < 0.17.1
  • Anyone running elixir-protobuf protobuf >= b0a1d4eaffaf50012fa71a8e931a47cf252d0370, < e9432ad1c4099511905353cebcececa3a1f7c3ff

Vulnerability facts

Affected
elixir-protobuf protobuf >= 0.8.0, < 0.17.1; elixir-protobuf protobuf >= b0a1d4eaffaf50012fa71a8e931a47cf252d0370, < e9432ad1c4099511905353cebcececa3a1f7c3ff
Fixed in
elixir-protobuf protobuf 0.17.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
8.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.67% chance of exploitation in 30 days (percentile 47, 2026-11-26)
CWE
CWE-674
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
elixir-protobuf protobuf>= 0.8.0, < 0.17.1—cvelist
elixir-protobuf protobuf>= b0a1d4eaffaf50012fa71a8e931a47cf252d0370, < e9432ad1c4099511905353cebcececa3a1f7c3ff—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-104635. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104635.md
Affected: elixir-protobuf protobuf >= 0.8.0, < 0.17.1; elixir-protobuf protobuf >= b0a1d4eaffaf50012fa71a8e931a47cf252d0370, < e9432ad1c4099511905353cebcececa3a1f7c3ff
Fixed in: elixir-protobuf protobuf 0.17.1

Steps:
1. Search this machine and project for elixir-protobuf protobuf: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-104635 being exploited?

There is no confirmed exploitation: CVE-2026-104635 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-104635?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-104635?

elixir-protobuf protobuf >= 0.8.0, < 0.17.1; elixir-protobuf protobuf >= b0a1d4eaffaf50012fa71a8e931a47cf252d0370, < e9432ad1c4099511905353cebcececa3a1f7c3ff.

Is there a fix for CVE-2026-104635?

Yes. Fixed in elixir-protobuf protobuf 0.17.1. Upgrade protobuf to 0.17.1 or later. Vendor workaround: 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.

How do I check if I'm affected by CVE-2026-104635?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors