All CVEs / Apache Software Foundation
CVE-2026-56388Apache Software Foundation Apache bRPC
Out-of-bounds write in Apache bRPC Redis command parser
Critical 9.1 No auth needed
Follow: this CVE · Apache Software Foundation · Apache Software Foundation Apache bRPC We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 21, 2026
- Updated
- Oct 30, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
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.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 1.18.0
Upgrade Apache bRPC to version 1.18.0 or later. If you cannot upgrade immediately, disable ServerOptions.redis_service or restrict network access.
- Apply the vendor's security update for Apache bRPC.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Apache Software Foundation · Apache bRPC
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.