{"id":"CVE-2026-90484","revision":"c8086cc4fef440f9b1ac496c45a0e91a","records":[{"revision":"c8086cc4fef440f9b1ac496c45a0e91a","observedAt":"2026-10-26T15:35:30.984+00:00","statement":{"source":"cve-program","id":"CVE-2026-90484","aliases":[],"title":"Apache bRPC: Null pointer dereference in MySQL reply parser leading to client crash","description":"The MySQL client response parser in Apache bRPC dereferences a null pointer when the server peer sends a zero-payload-length response packet. A response packet whose declared payload length is zero is accepted by the frame-length check (is_full_package), after which the parser reads the response type byte via an unbounded 5-byte fetch that returns nullptr, and type = p[4] dereferences it, crashing the client process.\n\n\n\nRoot Cause: In brpc::policy::MysqlReply::ConsumePartialIOBuf, buf.fetch(header, 5) returns nullptr when the buffered data only holds the 4-byte header of a zero-length packet, then the code reads p[4] (and, in the fast-auth path, p2[4]) without checking for a null or zero-length packet.\n\n\n\nAffected Scenarios: A brpc MySQL client connecting to a malicious or compromised MySQL server (or a MITM) can be crashed by a zero-length server response packet, resulting in denial of service of the client.\n\n\n\nFix: The fix rejects zero-length response packets (returning PARSE_ERROR_ABSOLUTELY_WRONG) both for the initial response type determination and after a fast-auth marker, before reading the type byte. Upgrade to the Apache bRPC version 1.18.0 or apply the PR patch at https://github.com/apache/brpc/pull/3536.","state":0,"publishedAt":"2026-10-21T12:19:37.796+00:00","modifiedAt":"2026-10-26T13:39:12.101+00:00","affected":[{"ecosystem":"https://github.com","name":"apache/brpc","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Apache Software Foundation\",\n                    \"product\": \"Apache bRPC\",\n                    \"packageURL\": \"pkg:github/apache/brpc\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"<= 1.11.0\",\n                            \"lessThan\": \"1.18.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"collectionURL\": \"https://github.com\",\n                    \"packageName\": \"apache/brpc\"\n                }"}],"metrics":[],"references":["https://github.com/apache/brpc/pull/3536","https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-90484","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-90484","identifiers":["CVE-2026-90484"]},"retained":false,"historicalAffected":[]}],"coverage":[]}