CVE-2026-56388: Apache Software Foundation Apache bRPC Buffer Overflow

CVE-2026-56388

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability Summary

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.
Severity Level
CRITICAL(9.1)
Published Date
Oct 21, 2026
Last Modified
Oct 30, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.88%Probability
Root Weakness (CWE)
The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.
The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.
The product writes data past the end, or before the beginning, of the intended buffer.
CVSS v3.1 Base Metrics — Score 9.1 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Apache Software Foundation Apache bRPC < 1.18.0
  • Apache bRPC (brpc) through 1.17.0 - Apache bRPC (brpc) 1.18.0 unaffected
Patched Versions
  • Apache Software Foundation Apache bRPC 1.18.0
  • Apache bRPC security advisory 1.18.0

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.

  1. Check whether you run Apache Software Foundation Apache bRPC and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Oct 21, 2026Published
  • Oct 30, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Software Foundation Apache bRPC CVEsYou are reading CVE-2026-56388. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 4, 2026 08:11 UTC