{"schemaVersion":4,"id":"CVE-2026-56388","aliases":[],"status":"published","duplicateOf":null,"title":"Apache bRPC: Out-of-Bounds Write in Redis Command Parser","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.\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.","dates":{"published":"2026-10-21T11:40:41.743Z","modified":"2026-10-30T13:57:52.012Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00953,"percentile":0.62547,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00953},"history":[{"date":"2026-10-22T00:00:00.000Z","score":0.00289,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00289,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00289,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00289,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00289,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00289,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00289,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00289,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00289,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00953,"percentile":0.62547}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00882,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00953,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00953,"percentile":0.62547}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-252","name":"Unchecked Return Value","description":"The product does not check the return value from a method or function.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/252.html"},{"id":"CWE-617","name":"Reachable Assertion","description":"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.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/617.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"apache software foundation","product":"apache brpc","name":"Apache bRPC","label":"apache brpc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.18.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.18.0","endInclusive":false}}],"versionsText":"< 1.18.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_brpc"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb","label":"lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb","hostname":"lists.apache.org","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-21T11:40:41.743Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-30T13:57:52.012Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 1.18.0 (CNA); fix release not confirmed","rank":[0,0,0,0,1,91],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00953,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-30T13:57:52.012Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-30T13:57:52.012Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-10-30T13:57:39.892Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00953,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:48:31.489Z","stale":false,"partial":false}}