CVE-2026-56388Apache BRPC unchecked return value
CVSS score
9.1
Critical
CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit probability (EPSS)
0.95%
0.95% chance of exploitation in the next 30 days, higher than 62.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Check whether you're affected
Find every system running Apache BRPC and compare its version with the affected versions.
Update to a fixed version
- Update Apache BRPC to 1.18.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Apache Apache BRPC | < 1.18.0 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-56388 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 1.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-56388?
CVE-2026-56388 has a CVSS 3.1 base score of 9.1 (critical).
Which versions are affected?
Apache Apache BRPC (< 1.18.0)
Is there a patch for CVE-2026-56388?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.