CVEfocus › CVE database › CVE-2026-104635

CVE-2026-104635Uncontrolled recursion in elixir-protobuf/protobuf JSON decoding of self-referential…

CVSS 8.2 HighEPSS 0.5% (higher than 43% of CVEs)Published 2026-10-09Updated 2026-11-19Assigner: EEF

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.

CWE-674

What to do

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

31Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 10protobufFix pending
Fix deferred
Red Hat Enterprise Linux 10protobuf-compilerFix pending
Fix deferred
Red Hat Enterprise Linux 10protobuf-develFix pending
Fix deferred
Red Hat Enterprise Linux 10protobuf-liteFix pending
Fix deferred
Red Hat Enterprise Linux 10protobuf-lite-develFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-protobufFix pending
Fix deferred
Red Hat Enterprise Linux 9protobufFix pending
Fix deferred
Red Hat Enterprise Linux 9protobuf-compilerFix pending
Fix deferred
Red Hat Enterprise Linux 9protobuf-develFix pending
Fix deferred
Red Hat Enterprise Linux 9protobuf-liteFix pending
Fix deferred
Red Hat Enterprise Linux 9protobuf-lite-develFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-protobufFix pending
Fix deferred
Red Hat Enterprise Linux 8protobufFix pending
Fix deferred
Red Hat Enterprise Linux 8protobuf-compilerFix pending
Fix deferred
Red Hat Enterprise Linux 8protobuf-develFix pending
Fix deferred
Red Hat Enterprise Linux 8protobuf-liteFix pending
Fix deferred
Red Hat Enterprise Linux 8protobuf-lite-develFix pending
Fix deferred
Red Hat Enterprise Linux 8python3-protobufFix pending
Fix deferred
Red Hat Enterprise Linux 7protobufFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-compilerFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-develFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-emacsFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-emacs-elFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-javaFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-liteFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-lite-develFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-lite-staticFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-pythonFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-staticFix pending
Fix deferred
Red Hat Enterprise Linux 7protobuf-vimFix pending
Fix deferred

What the vendor says

As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.