{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-56388","published":"2026-10-21T12:17:21.680000Z","last_modified":"2026-10-30T14:17:06.653000Z","status":"Deferred","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-252","CWE-617","CWE-787"],"cpes":[],"cpes_truncated":false,"vendors":["apache"],"products":["apache/apache-brpc"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-56388/","html_en":"/en/cve/CVE-2026-56388/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-56388","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-56388"},"untrusted":{"vendor_name":"Apache Software Foundation","product_name":"Apache bRPC","desc_en":"The Redis server command parser in Apache bRPC accepts an empty RESP array as a command header. A remote unauthenticated attacker who can reach a bRPC server with Redis service enabled can send an empty array header followed by a bulk string, causing an out-of-bounds write in the parser and crashing the process.\n\nRoot Cause:\nRedisCommandParser::ConsumeImpl rejected negative RESP array counts but accepted zero. It resized the command argument vector to zero elements and continued parsing. When a following bulk string was parsed, the only index guard was a CHECK. In configurations where fatal logs do not abort immediately, execution could continue and write to _args[0] even though the vector was empty.\n\nAffected Scenarios:\nDeployments that enable ServerOptions.redis_service and accept Redis protocol traffic from untrusted clients. The issue is reached during parsing before command handling or authentication.\n\nHow to Fix:\n1. Upgrade bRPC to version 1.18.0, which fixes this issue.\n2. Apply this patch:  https://github.com/apache/brpc/pull/3354 \n\nNote:\nThe fix rejects empty RESP arrays as invalid Redis commands and replaces the internal index CHECK with an explicit parse error so malformed command streams cannot fall through to an indexed vector write.","affected":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache bRPC","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"197b903f27cda1a29ac56133f74541ec","generated":"2026-11-26T22:30:13.252970Z","es":{"untrusted_title":"Escritura fuera de límites en el analizador Redis de Apache bRPC","untrusted_summary":"Apache bRPC acepta un array RESP vacío como encabezado de comando Redis, lo que permite a un atacante remoto sin autenticación enviar datos malformados que causan una escritura fuera de límites en el analizador. Un atacante que pueda alcanzar un servidor bRPC con el servicio Redis habilitado puede provocar un fallo del proceso."},"en":{"untrusted_title":"Out-of-bounds write in Apache bRPC Redis command parser","untrusted_summary":"Apache bRPC accepts an empty RESP array as a Redis command header, allowing an unauthenticated remote attacker to send malformed data that causes an out-of-bounds write in the parser. An attacker who can reach a bRPC server with Redis service enabled can crash the process."},"remediation":{"status":"fix","fixed_versions":["1.18.0"],"untrusted_action_es":"Actualiza Apache bRPC a la versión 1.18.0 o superior. Si no puedes actualizar inmediatamente, deshabilita ServerOptions.redis_service o restringe el acceso a la red.","untrusted_action_en":"Upgrade Apache bRPC to version 1.18.0 or later. If you cannot upgrade immediately, disable ServerOptions.redis_service or restrict network access.","vendor_url":"https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb"},"reviewed":false},"references":[{"url":"https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb","tags":[]}]}}