{"id":44030,"date":"2026-10-21T20:38:32","date_gmt":"2026-10-21T12:38:32","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-58064"},"modified":"2026-10-21T20:38:32","modified_gmt":"2026-10-21T12:38:32","slug":"cve-2026-58064","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-58064","title":{"rendered":"CVE-2026-58064 &#8211; The Redis protocol implementation in Apache bRPC allowed inline command parsing to allocat"},"content":{"rendered":"<p>The Redis protocol implementation in Apache bRPC allowed inline command parsing to allocate and copy the full connection buffer before a complete CRLF-terminated command was available. A remote attacker with access to a Redis-protocol bRPC service could send long inline inputs without a terminating CRLF to increase memory usage and CPU copy overhead, potentially causing denial of service.<\/p>\n<p>Root Cause:<br \/>\nThe Redis inline command parser allocated memory based on the current input buffer size and copied the entire buffer before determining the current inline command boundary. The existing redis_max_allocation_size limit was applied to RESP bulk strings and arrays, but not effectively to the inline command path before allocation.<\/p>\n<p>Affected Scenarios:<br \/>\nUse Apache bRPC server with Redis protocol enabled and reachable by untrusted clients.<\/p>\n<p>How to Fix:<br \/>\n1. Upgrade Apache bRPC to version 1.18.0, which fixes this issue.<br \/>\n2. Apply the patch from PR  https:\/\/github.com\/apache\/brpc\/pull\/3363 .<\/p>\n<p>Note:<br \/>\nThe fix applies redis_max_allocation_size to Redis inline command lines and scans for CRLF before allocating parser arena memory. Inline command lines exceeding this limit are rejected.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Redis protocol implementation in Apache bRPC allowed inline command parsing to allocate and copy the full connection buffer before a complete CRLF-terminated command was available. A remote attack<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-44030","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/44030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}