← Back to the monthly list · Apache Software Foundation →
CVE-2026-56388 Apache Software Foundation · Apache bRPC
AI summary
The Redis command parser in Apache bRPC accepts an empty RESP array, letting a remote unauthenticated attacker reaching a server with redis_service enabled trigger an out-of-bounds write and crash the process before authentication. Critical (CVSS 9.1); upgrade to 1.18.0 or apply PR 3354.
Official description
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. Root Cause: RedisCommandParser::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. Affected Scenarios: Deployments that enable ServerOptions.redis_service and accept Redis protocol traffic from untrusted clients. The issue is reached during parsing before command handling or authentication. How to Fix: 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3354 Note: The 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.
- Published
- 2026-10-21 12:17 UTC
- Modified
- 2026-10-30 14:17 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - EPSS
- 0.88% (percentile 57)
- ENISA EUVD
- EUVD-2026-107174
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-252
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- none
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- lists.apache.org
https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb