Withdrawn security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 16:37 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-104635
protobuf
Fixed versions: Not specified
protobuf
Fixed versions: Not specified
protobuf
Fixed versions: Not specified
protobuf
Fixed versions: Not specified
protobuf
Fixed versions: Not specified
protobuf
Fixed versions: Not specified
protobuf
Fixed versions: Not specified
Complete source record
{
"id": "0f93ff97de93aeb5daf2055ebcb79e01f0f48db7114ecbbb410cc449009a54d8",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-104635",
"method": "structured",
"payload": {
"kind": "withdrawal",
"title": "UBUNTU-CVE-2026-104635",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-104635",
"products": [
{
"name": {
"value": "protobuf",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.1-3ubuntu2",
"evidence": "/affected/0/versions"
},
{
"value": "2.4.1-3ubuntu3",
"evidence": "/affected/0/versions"
},
{
"value": "2.4.1-3ubuntu4",
"evidence": "/affected/0/versions"
},
{
"value": "2.5.0-5ubuntu2",
"evidence": "/affected/0/versions"
},
{
"value": "2.5.0-7ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.5.0-8ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.5.0-9ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.5.0-9ubuntu1+esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "protobuf",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.6.1-1.2",
"evidence": "/affected/1/versions"
},
{
"value": "2.6.1-1.3",
"evidence": "/affected/1/versions"
},
{
"value": "2.6.1-1.3ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
},
{
"value": "2.6.1-1.3ubuntu0.1~esm2",
"evidence": "/affected/1/versions"
},
{
"value": "2.6.1-1.3ubuntu0.1~esm4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "protobuf",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.0-9ubuntu5",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.0-9ubuntu6",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.0-9.1ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.0-9.1ubuntu1.1",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.0-9.1ubuntu1.1+esm3",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.0-9.1ubuntu1.1+esm4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "protobuf",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.1.3-2",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.1.3-2ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.1.3-2ubuntu3",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.1.3-2ubuntu4",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.1.3-2ubuntu5",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.1.3-2ubuntu5.2",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.1.3-2ubuntu5.2+esm2",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.1.3-2ubuntu5.2+esm3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "protobuf",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.12.4-1ubuntu3",
"evidence": "/affected/4/versions"
},
{
"value": "3.12.4-1ubuntu5",
"evidence": "/affected/4/versions"
},
{
"value": "3.12.4-1ubuntu6",
"evidence": "/affected/4/versions"
},
{
"value": "3.12.4-1ubuntu7",
"evidence": "/affected/4/versions"
},
{
"value": "3.12.4-1ubuntu7.22.04.1",
"evidence": "/affected/4/versions"
},
{
"value": "3.12.4-1ubuntu7.22.04.2",
"evidence": "/affected/4/versions"
},
{
"value": "3.12.4-1ubuntu7.22.04.4",
"evidence": "/affected/4/versions"
},
{
"value": "3.12.4-1ubuntu7.22.04.6",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "protobuf",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.21.12-7ubuntu1",
"evidence": "/affected/5/versions"
},
{
"value": "3.21.12-8ubuntu1",
"evidence": "/affected/5/versions"
},
{
"value": "3.21.12-8ubuntu5",
"evidence": "/affected/5/versions"
},
{
"value": "3.21.12-8.2",
"evidence": "/affected/5/versions"
},
{
"value": "3.21.12-8.2build1",
"evidence": "/affected/5/versions"
},
{
"value": "3.21.12-8.2ubuntu0.1",
"evidence": "/affected/5/versions"
},
{
"value": "3.21.12-8.2ubuntu0.2",
"evidence": "/affected/5/versions"
},
{
"value": "3.21.12-8.2ubuntu0.3",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "protobuf",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.21.12-11ubuntu3",
"evidence": "/affected/6/versions"
},
{
"value": "3.21.12-14",
"evidence": "/affected/6/versions"
},
{
"value": "3.21.12-14build1",
"evidence": "/affected/6/versions"
},
{
"value": "3.21.12-15",
"evidence": "/affected/6/versions"
},
{
"value": "3.21.12-15ubuntu1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-104635",
"aliases": [
"UBUNTU-CVE-2026-104635"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf?arch=source&distro=esm-infra-legacy%2Ftrusty",
"ecosystem": "Ubuntu:Pro:14.04:LTS"
},
"versions": [
"2.4.1-3ubuntu2",
"2.4.1-3ubuntu3",
"2.4.1-3ubuntu4",
"2.5.0-5ubuntu2",
"2.5.0-7ubuntu1",
"2.5.0-8ubuntu1",
"2.5.0-9ubuntu1",
"2.5.0-9ubuntu1+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-104635.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libprotobuf-java",
"binary_version": "2.5.0-9ubuntu1+esm1"
},
{
"binary_name": "libprotobuf-lite8",
"binary_version": "2.5.0-9ubuntu1+esm1"
},
{
"binary_name": "libprotobuf8",
"binary_version": "2.5.0-9ubuntu1+esm1"
},
{
"binary_name": "libprotoc8",
"binary_version": "2.5.0-9ubuntu1+esm1"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "2.5.0-9ubuntu1+esm1"
},
{
"binary_name": "python-protobuf",
"binary_version": "2.5.0-9ubuntu1+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf?arch=source&distro=esm-infra%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"2.6.1-1.2",
"2.6.1-1.3",
"2.6.1-1.3ubuntu0.1~esm1",
"2.6.1-1.3ubuntu0.1~esm2",
"2.6.1-1.3ubuntu0.1~esm4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-104635.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libprotobuf-java",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
},
{
"binary_name": "libprotobuf-lite9v5",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
},
{
"binary_name": "libprotobuf9v5",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
},
{
"binary_name": "libprotoc9v5",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
},
{
"binary_name": "python-protobuf",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf?arch=source&distro=esm-infra%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"3.0.0-9ubuntu5",
"3.0.0-9ubuntu6",
"3.0.0-9.1ubuntu1",
"3.0.0-9.1ubuntu1.1",
"3.0.0-9.1ubuntu1.1+esm3",
"3.0.0-9.1ubuntu1.1+esm4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-104635.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libprotobuf-java",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "libprotobuf-lite10",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "libprotobuf10",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "libprotoc10",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "python-protobuf",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "python3-protobuf",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf?arch=source&distro=esm-infra%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"3.6.1.3-2",
"3.6.1.3-2ubuntu1",
"3.6.1.3-2ubuntu3",
"3.6.1.3-2ubuntu4",
"3.6.1.3-2ubuntu5",
"3.6.1.3-2ubuntu5.2",
"3.6.1.3-2ubuntu5.2+esm2",
"3.6.1.3-2ubuntu5.2+esm3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-104635.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libprotobuf-java",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "libprotobuf-lite17",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "libprotobuf17",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "libprotoc17",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "python-protobuf",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "python3-protobuf",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "ruby-google-protobuf",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.12.4-1ubuntu3",
"3.12.4-1ubuntu5",
"3.12.4-1ubuntu6",
"3.12.4-1ubuntu7",
"3.12.4-1ubuntu7.22.04.1",
"3.12.4-1ubuntu7.22.04.2",
"3.12.4-1ubuntu7.22.04.4",
"3.12.4-1ubuntu7.22.04.6"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-104635.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "elpa-protobuf-mode",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "libprotobuf-java",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "libprotobuf-lite23",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "libprotobuf23",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "libprotoc23",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "python3-protobuf",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "ruby-google-protobuf",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"3.21.12-7ubuntu1",
"3.21.12-8ubuntu1",
"3.21.12-8ubuntu5",
"3.21.12-8.2",
"3.21.12-8.2build1",
"3.21.12-8.2ubuntu0.1",
"3.21.12-8.2ubuntu0.2",
"3.21.12-8.2ubuntu0.3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-104635.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "elpa-protobuf-mode",
"binary_version": "3.21.12-8.2ubuntu0.3"
},
{
"binary_name": "libprotobuf-java",
"binary_version": "3.21.12-8.2ubuntu0.3"
},
{
"binary_name": "libprotobuf-lite32t64",
"binary_version": "3.21.12-8.2ubuntu0.3"
},
{
"binary_name": "libprotobuf32t64",
"binary_version": "3.21.12-8.2ubuntu0.3"
},
{
"binary_name": "libprotoc32t64",
"binary_version": "3.21.12-8.2ubuntu0.3"
},
{
"binary_name": "php-google-protobuf",
"binary_version": "3.21.12-8.2ubuntu0.3"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "3.21.12-8.2ubuntu0.3"
},
{
"binary_name": "python3-protobuf",
"binary_version": "3.21.12-8.2ubuntu0.3"
},
{
"binary_name": "ruby-google-protobuf",
"binary_version": "3.21.12-8.2ubuntu0.3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.21.12-11ubuntu3",
"3.21.12-14",
"3.21.12-14build1",
"3.21.12-15",
"3.21.12-15ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-104635.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "elpa-protobuf-mode",
"binary_version": "3.21.12-15ubuntu1"
},
{
"binary_name": "libprotobuf-java",
"binary_version": "3.21.12-15ubuntu1"
},
{
"binary_name": "libprotobuf-lite32t64",
"binary_version": "3.21.12-15ubuntu1"
},
{
"binary_name": "libprotobuf32t64",
"binary_version": "3.21.12-15ubuntu1"
},
{
"binary_name": "libprotoc32t64",
"binary_version": "3.21.12-15ubuntu1"
},
{
"binary_name": "php-google-protobuf",
"binary_version": "3.21.12-15ubuntu1"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "3.21.12-15ubuntu1"
},
{
"binary_name": "python3-protobuf",
"binary_version": "3.21.12-15ubuntu1"
},
{
"binary_name": "ruby-google-protobuf",
"binary_version": "3.21.12-15ubuntu1"
}
]
}
}
],
"modified": "2026-10-21T23:00:22.106519147Z",
"provider": "osv",
"upstream": [
"CVE-2026-104635"
],
"references": [
"https://ubuntu.com/security/CVE-2026-104635",
"https://www.cve.org/CVERecord?id=CVE-2026-104635",
"https://cna.erlef.org/cves/CVE-2026-104635.html",
"https://github.com/elixir-protobuf/protobuf/commit/b0a1d4eaffaf50012fa71a8e931a47cf252d0370",
"https://github.com/elixir-protobuf/protobuf/commit/e9432ad1c4099511905353cebcececa3a1f7c3ff",
"https://github.com/elixir-protobuf/protobuf/security/advisories/GHSA-m497-c2h9-rvw6",
"https://osv.dev/vulnerability/EEF-CVE-2026-104635"
]
},
"related_cves": [
{
"value": "CVE-2026-104635",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 401033,
"published_at": "2026-10-13T00:00:00+00:00"
}