{"id":"CVE-2026-104635","sourceIdentifier":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","published":"2026-10-09T09:17:07.360","lastModified":"2026-10-15T16:17:33.810","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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.\n\nIn 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.\n\nThis issue affects protobuf: from 0.8.0 before 0.17.1."}],"affected":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","affectedData":[{"vendor":"elixir-protobuf","product":"protobuf","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"protobuf","cpes":["cpe:2.3:a:elixir-protobuf:protobuf:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Protobuf.JSON.Decode'","'Elixir.Protobuf.JSON'"],"programFiles":["lib/protobuf/json/decode.ex","lib/protobuf/json.ex"],"programRoutines":[{"name":"'Elixir.Protobuf.JSON.Decode':from_json_data/3"},{"name":"'Elixir.Protobuf.JSON.Decode':decode_singular/3"},{"name":"'Elixir.Protobuf.JSON':decode/3"},{"name":"'Elixir.Protobuf.JSON':decode!/3"},{"name":"'Elixir.Protobuf.JSON':from_decoded/3"}],"repo":"https://github.com/elixir-protobuf/protobuf","packageURL":"pkg:hex/protobuf","versions":[{"version":"0.8.0","lessThan":"0.17.1","versionType":"semver","status":"affected"}]},{"vendor":"elixir-protobuf","product":"protobuf","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"elixir-protobuf/protobuf","cpes":["cpe:2.3:a:elixir-protobuf:protobuf:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Protobuf.JSON.Decode'","'Elixir.Protobuf.JSON'"],"programFiles":["lib/protobuf/json/decode.ex","lib/protobuf/json.ex"],"programRoutines":[{"name":"'Elixir.Protobuf.JSON.Decode':from_json_data/3"},{"name":"'Elixir.Protobuf.JSON.Decode':decode_singular/3"},{"name":"'Elixir.Protobuf.JSON':decode/3"},{"name":"'Elixir.Protobuf.JSON':decode!/3"},{"name":"'Elixir.Protobuf.JSON':from_decoded/3"}],"repo":"https://github.com/elixir-protobuf/protobuf","packageURL":"pkg:github/elixir-protobuf/protobuf","versions":[{"version":"b0a1d4eaffaf50012fa71a8e931a47cf252d0370","lessThan":"e9432ad1c4099511905353cebcececa3a1f7c3ff","versionType":"git","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-15T15:56:39.227631Z","id":"CVE-2026-104635","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","description":[{"lang":"en","value":"CWE-674"}]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-104635.html","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-protobuf/protobuf/commit/b0a1d4eaffaf50012fa71a8e931a47cf252d0370","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-protobuf/protobuf/commit/e9432ad1c4099511905353cebcececa3a1f7c3ff","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-protobuf/protobuf/security/advisories/GHSA-m497-c2h9-rvw6","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-104635","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-104635","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}