{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-7827",
        "assignerOrgId": "33c584b5-0579-4c06-b2a0-8d8329fcab9c",
        "state": "PUBLISHED",
        "assignerShortName": "securin",
        "dateReserved": "2026-05-05T02:50:42.544Z",
        "datePublished": "2026-10-09T04:04:29.094Z",
        "dateUpdated": "2026-10-09T16:47:46.031Z"
    },
    "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",
                    "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:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "4.18.4",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "type": "CWE",
                            "cweId": "CWE-121",
                            "description": "CWE-121 Stack-based Buffer Overflow"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "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."
                }
            ],
            "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"
                    ]
                }
            ],
            "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"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "33c584b5-0579-4c06-b2a0-8d8329fcab9c",
                "shortName": "securin",
                "dateUpdated": "2026-10-09T04:04:29.094Z"
            }
        },
        "adp": [
            {
                "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"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-10-09T16:47:46.031Z"
                }
            }
        ]
    }
}