{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-23631",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-01-14T16:08:37.482Z",
        "datePublished": "2026-05-05T16:39:32.337Z",
        "dateUpdated": "2026-07-16T12:04:50.140Z"
    },
    "containers": {
        "cna": {
            "title": "redis-server Lua use-after-free may allow remote code execution",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-416",
                            "lang": "en",
                            "description": "CWE-416: Use After Free",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.1,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/redis/redis/security/advisories/GHSA-8ghh-qpmp-7826",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/redis/redis/security/advisories/GHSA-8ghh-qpmp-7826"
                },
                {
                    "name": "https://github.com/redis/redis/releases/tag/8.6.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/redis/redis/releases/tag/8.6.3"
                }
            ],
            "affected": [
                {
                    "vendor": "redis",
                    "product": "redis",
                    "versions": [
                        {
                            "version": "< 8.6.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-05-05T16:39:32.337Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Redis is an in-memory data structure store. In all versions of redis-server with Lua scripting, an authenticated attacker can exploit the master-replica synchronization mechanism to trigger a use-after-free on replicas where replica-read-only is disabled or can be disabled, which may lead to remote code execution. A workaround is to prevent users from executing Lua scripts or avoid using replicas where replica-read-only is disabled. This is patched in version 8.6.3."
                }
            ],
            "source": {
                "advisory": "GHSA-8ghh-qpmp-7826",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-05-06T03:56:10.112246Z",
                                "id": "CVE-2026-23631",
                                "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-05-06T13:23:48.308Z"
                }
            },
            {
                "affected": [
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/o:redhat:enterprise_linux:10.2"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "valkey",
                        "product": "Red Hat Enterprise Linux 10",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "0:8.0.9-1.el10_2",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/o:redhat:enterprise_linux_eus:10.0"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "valkey",
                        "product": "Red Hat Enterprise Linux 10.0 Extended Update Support",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "0:8.0.9-1.el10_0",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:enterprise_linux:9"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "redis:7",
                        "product": "Red Hat Enterprise Linux 9",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "9080020260521083756.9",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:enterprise_linux:9"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "valkey",
                        "product": "Red Hat Enterprise Linux 9",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "0:8.0.9-1.el9_8",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_e4s:9.4"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "redis:7",
                        "product": "Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "9040020260625094332.9",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:rhel_eus:9.6"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "redis:7",
                        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "9060020260602115714.9",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:hummingbird:1"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "valkey-main",
                        "product": "Red Hat Hardened Images",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "9.0.4-0.1.hum1",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/o:redhat:enterprise_linux:8"
                        ],
                        "defaultStatus": "unknown",
                        "packageName": "redis:6/redis",
                        "product": "Red Hat Enterprise Linux 8",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/o:redhat:enterprise_linux:9"
                        ],
                        "defaultStatus": "unknown",
                        "packageName": "redis",
                        "product": "Red Hat Enterprise Linux 9",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:hummingbird:1"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "boost",
                        "product": "Red Hat Hardened Images",
                        "vendor": "Red Hat"
                    }
                ],
                "datePublic": "2026-05-05T16:39:32.337Z",
                "descriptions": [
                    {
                        "lang": "en",
                        "value": "A flaw was found in Redis, an in-memory data structure store. An authenticated attacker can exploit a use-after-free vulnerability in redis-server with Lua scripting. This occurs through the master-replica synchronization mechanism on replicas where replica-read-only is disabled or can be disabled. Successful exploitation may lead to remote code execution."
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "content": {
                                "namespace": "https://access.redhat.com/security/updates/classification/",
                                "value": "Important"
                            },
                            "type": "Red Hat severity rating"
                        }
                    },
                    {
                        "cvssV3_1": {
                            "attackComplexity": "LOW",
                            "attackVector": "NETWORK",
                            "availabilityImpact": "HIGH",
                            "baseScore": 8.8,
                            "baseSeverity": "HIGH",
                            "confidentialityImpact": "HIGH",
                            "integrityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "scope": "UNCHANGED",
                            "userInteraction": "NONE",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "version": "3.1"
                        },
                        "format": "CVSS"
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "cweId": "CWE-416",
                                "description": "Use After Free",
                                "lang": "en",
                                "type": "CWE"
                            }
                        ]
                    }
                ],
                "references": [
                    {
                        "tags": [
                            "vdb-entry",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/security/cve/CVE-2026-23631"
                    },
                    {
                        "name": "RHBZ#2466788",
                        "tags": [
                            "issue-tracking",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2466788"
                    },
                    {
                        "tags": [
                            "x_sadp-csaf-vex"
                        ],
                        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23631.json"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:26540"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:25216"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:33444"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:26306"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:25219"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:25925"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:14316"
                    }
                ],
                "solutions": [
                    {
                        "lang": "en",
                        "value": "RHSA-2026:26540: Red Hat Enterprise Linux AppStream EUS (v. 10.0)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:25216: Red Hat Enterprise Linux AppStream (v. 10)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:33444: Red Hat Enterprise Linux AppStream E4S (v.9.4)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:26306: Red Hat Enterprise Linux AppStream EUS (v.9.6)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:25219: Red Hat Enterprise Linux AppStream (v. 9)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:25925: Red Hat Enterprise Linux AppStream (v. 9)"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:14316: Red Hat Hardened Images"
                    }
                ],
                "timeline": [
                    {
                        "lang": "en",
                        "time": "2026-05-05T17:02:23.286Z",
                        "value": "Reported to Red Hat."
                    },
                    {
                        "lang": "en",
                        "time": "2026-05-05T16:39:32.337Z",
                        "value": "Made public."
                    }
                ],
                "title": "redis: Remote code execution via use-after-free in Lua scripting",
                "workarounds": [
                    {
                        "lang": "en",
                        "value": "To mitigate this flaw, ensure that Redis replicas maintain `replica-read-only` as enabled and prevent its modification by unauthorized users. If Lua scripting is not a required feature, consider disabling it to reduce the attack surface. Restricting network access to Redis instances to trusted clients can also limit exposure.\nFor Redis configuration, edit the `redis.conf` file to include or verify:\n`replica-read-only yes`\nAfter modifying the configuration, restart the Redis service for the changes to take effect. This action will temporarily interrupt service availability."
                    }
                ],
                "x_adpType": "supplier",
                "x_generator": {
                    "engine": "sadp-cli 1.0.0"
                },
                "providerMetadata": {
                    "orgId": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
                    "shortName": "redhat-SADP",
                    "dateUpdated": "2026-07-16T12:04:50.140Z"
                }
            }
        ]
    }
}