{"id":"CVE-2026-7827","state":"PUBLISHED","title":"Stack-based buffer overflow in FalkorDB _RdbLoadEntity via unbounded property count in crafted RDB","description":"A stack-based buffer overflow in the _RdbLoadEntity function of the RDB graph decoders (src/serializers/decoders/*/decode_graph_entities.c) in FalkorDB before 4.18.4 allows a remote attacker who can issue Redis replication commands (for example, against an instance with no password configured) to cause a denial of service and possibly execute arbitrary code by supplying a crafted RDB stream with an attacker-controlled entity property count. The count sizes two variable-length arrays on the thread stack with no upper bound, and the decoder then fills them with attacker-supplied values.","publishedAt":"2026-10-09T04:04:29.094Z","updatedAt":"2026-10-09T16:47:46.031Z","severity":{"score":9.2,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"securin"},"assigner":"securin","products":["FalkorDB FalkorDB"],"affected":[{"vendor":"FalkorDB","product":"FalkorDB","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.18.4","versionType":"semver"}],"collectionURL":"https://github.com/FalkorDB/FalkorDB","repo":"https://github.com/FalkorDB/FalkorDB","modules":["RDB serializer / graph decoder"],"programFiles":["src/serializers/decoders/current/v19/decode_graph_entities.c","src/serializers/decoders/prev/v18/decode_graph_entities.c","src/serializers/decoders/prev/v17/decode_graph_entities.c","src/serializers/decoders/prev/v16/decode_graph_entities.c","src/serializers/decoders/prev/v15/decode_graph_entities.c","src/serializers/decoders/prev/v14/decode_graph_entities.c","src/serializers/decoders/prev/v13/decode_graph_entities.c","src/serializers/decoders/prev/v12/decode_graph_entities.c","src/serializers/decoders/prev/v11/decode_graph_entities.c","src/serializers/decoders/prev/v10/decode_graph_entities.c"],"programRoutines":[{"name":"_RdbLoadEntity"}],"cpes":["cpe:2.3:a:falkordb:falkordb:*:*:*:*:*:*:*:*"]}],"references":["https://github.com/FalkorDB/FalkorDB/pull/1973","https://github.com/FalkorDB/FalkorDB/commit/7d15431aadf37588fadc2578b90c3afb5e8daa94","https://github.com/FalkorDB/FalkorDB/releases/tag/v4.18.4"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/7xxx/CVE-2026-7827.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-7827","state":"PUBLISHED","datePublished":"2026-10-09T04:04:29.094Z","dateUpdated":"2026-10-09T16:47:46.031Z","assignerShortName":"securin","assignerOrgId":"33c584b5-0579-4c06-b2a0-8d8329fcab9c","dateReserved":"2026-05-05T02:50:42.544Z"},"containers":{"cna":{"title":"Stack-based buffer overflow in FalkorDB _RdbLoadEntity via unbounded property count in crafted RDB","descriptions":[{"lang":"en","value":"A stack-based buffer overflow in the _RdbLoadEntity function of the RDB graph decoders (src/serializers/decoders/*/decode_graph_entities.c) in FalkorDB before 4.18.4 allows a remote attacker who can issue Redis replication commands (for example, against an instance with no password configured) to cause a denial of service and possibly execute arbitrary code by supplying a crafted RDB stream with an attacker-controlled entity property count. The count sizes two variable-length arrays on the thread stack with no upper bound, and the decoder then fills them with attacker-supplied values."}],"affected":[{"vendor":"FalkorDB","product":"FalkorDB","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.18.4","versionType":"semver"}],"collectionURL":"https://github.com/FalkorDB/FalkorDB","repo":"https://github.com/FalkorDB/FalkorDB","modules":["RDB serializer / graph decoder"],"programFiles":["src/serializers/decoders/current/v19/decode_graph_entities.c","src/serializers/decoders/prev/v18/decode_graph_entities.c","src/serializers/decoders/prev/v17/decode_graph_entities.c","src/serializers/decoders/prev/v16/decode_graph_entities.c","src/serializers/decoders/prev/v15/decode_graph_entities.c","src/serializers/decoders/prev/v14/decode_graph_entities.c","src/serializers/decoders/prev/v13/decode_graph_entities.c","src/serializers/decoders/prev/v12/decode_graph_entities.c","src/serializers/decoders/prev/v11/decode_graph_entities.c","src/serializers/decoders/prev/v10/decode_graph_entities.c"],"programRoutines":[{"name":"_RdbLoadEntity"}],"cpes":["cpe:2.3:a:falkordb:falkordb:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://github.com/FalkorDB/FalkorDB/pull/1973","name":"FalkorDB PR #1973","tags":["patch"]},{"url":"https://github.com/FalkorDB/FalkorDB/commit/7d15431aadf37588fadc2578b90c3afb5e8daa94","name":"Fix commit","tags":["patch"]},{"url":"https://github.com/FalkorDB/FalkorDB/releases/tag/v4.18.4","name":"FalkorDB 4.18.4 release notes","tags":["release-notes"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","baseScore":9.2,"baseSeverity":"CRITICAL"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","type":"CWE","description":"CWE-121 Stack-based Buffer Overflow"}]}],"providerMetadata":{"shortName":"securin","orgId":"33c584b5-0579-4c06-b2a0-8d8329fcab9c","dateUpdated":"2026-10-09T04:04:29.094Z"},"solutions":[{"lang":"en","value":"Upgrade FalkorDB to version 4.18.4 or later."}],"workarounds":[{"lang":"en","value":"Require authentication on the Redis/FalkorDB instance (requirepass or ACLs), restrict or rename the REPLICAOF/SLAVEOF commands so untrusted clients cannot use them, and do not expose the instance to untrusted networks."}],"credits":[{"lang":"en","type":"finder","value":"Arjun Basnet from Securin"}],"timeline":[{"time":"2026-04-24T00:00:00.000Z","lang":"en","value":"Reported to FalkorDB"},{"time":"2026-05-05T00:00:00.000Z","lang":"en","value":"CVE ID shared with the vendor"},{"time":"2026-05-07T00:00:00.000Z","lang":"en","value":"Fix merged by the vendor (PR #1973)"},{"time":"2026-05-07T00:00:00.000Z","lang":"en","value":"FalkorDB 4.18.4 released with the fix"}],"source":{"discovery":"EXTERNAL"},"impacts":[{"capecId":"CAPEC-100","descriptions":[{"lang":"en","value":"CAPEC-100 Overflow Buffers"}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-09T16:16:19.507878Z","id":"CVE-2026-7827","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-09T16:47:46.031Z"}}]}}}