Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-90484 Overview
CVE-2026-90484 is a null pointer dereference vulnerability [CWE-476] in the MySQL client response parser of Apache bRPC. The parser accepts response packets whose declared payload length is zero, then attempts to read the response type byte through an unbounded 5-byte fetch that returns nullptr. Dereferencing this pointer via type = p[4] crashes the client process. A malicious or compromised MySQL server, or a man-in-the-middle (MITM) attacker, can trigger the crash and cause denial of service against any bRPC MySQL client. The issue is fixed in Apache bRPC 1.18.0.
Critical Impact
A single zero-length response packet from a hostile MySQL server crashes the bRPC client process, enabling denial-of-service against any application built on Apache bRPC's MySQL client.
Affected Products
- Apache bRPC versions prior to 1.18.0
- Applications embedding the Apache bRPC MySQL client (brpc::policy::MysqlReply)
- Deployments where bRPC MySQL clients connect to untrusted networks or servers
Discovery Timeline
- 2026-10-21 - CVE-2026-90484 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-90484
Vulnerability Analysis
The vulnerability resides in brpc::policy::MysqlReply::ConsumePartialIOBuf, the function responsible for parsing MySQL server response packets within Apache bRPC. MySQL wire protocol packets begin with a 4-byte header that encodes the payload length and sequence number. The bRPC parser validates the frame using is_full_package, which treats a packet with a declared payload length of zero as complete.
After the frame check succeeds, the parser calls buf.fetch(header, 5) to read the 5 bytes needed to extract the response type byte at offset 4. When the buffered data contains only the 4-byte header of a zero-length packet, fetch returns nullptr. The subsequent statement type = p[4] dereferences this null pointer, terminating the client process. The same pattern recurs on the fast-authentication code path with p2[4].
Root Cause
The parser lacks a guard against zero-length payloads before reading beyond the header. is_full_package accepts the packet because the full declared frame is present, but the code assumes at least one additional payload byte exists. No null check is performed on the return value of buf.fetch, so an attacker-controlled payload length of zero reliably forces a null pointer dereference [CWE-476].
Attack Vector
An attacker operating a malicious MySQL server, compromising a legitimate server, or intercepting network traffic as a MITM can send a response packet with a 4-byte header declaring zero payload bytes. When the bRPC client parses this packet, the client process crashes, producing denial of service. No authentication or prior session state is required, since the crash can occur during the initial response-type determination and after the fast-auth marker.
No verified exploit code is published. See the Apache bRPC pull request for the patch diff and parser context.
Detection Methods for CVE-2026-90484
Indicators of Compromise
- Unexpected crashes or SIGSEGV terminations in processes linking against Apache bRPC's MySQL client
- Core dumps with faulting instructions inside brpc::policy::MysqlReply::ConsumePartialIOBuf
- MySQL protocol packets on the wire with a 4-byte header declaring payload length of zero
Detection Strategies
- Inventory running binaries and container images for Apache bRPC versions earlier than 1.18.0
- Deploy network inspection rules that flag MySQL response frames with a zero payload-length field originating from server to client
- Correlate repeated client-process restarts with recent outbound MySQL connections to identify targeted DoS attempts
Monitoring Recommendations
- Alert on crash-loop patterns and segmentation faults in services that embed bRPC MySQL clients
- Capture packet traces on egress MySQL ports when client processes terminate abnormally
- Monitor DNS and routing changes that could enable MITM positioning between bRPC clients and MySQL servers
How to Mitigate CVE-2026-90484
Immediate Actions Required
- Upgrade Apache bRPC to version 1.18.0 or later across all affected services
- If immediate upgrade is infeasible, apply the upstream patch from Apache bRPC PR #3536 and rebuild dependent binaries
- Restrict bRPC MySQL clients to connect only to trusted, authenticated database endpoints over mutually authenticated TLS
Patch Information
The fix in Apache bRPC 1.18.0 rejects zero-length response packets by returning PARSE_ERROR_ABSOLUTELY_WRONG before any attempt to read the response type byte. The guard is applied both during initial response-type determination and after the fast-auth marker. Refer to the Apache bRPC pull request and the Apache mailing list announcement for details.
Workarounds
- Terminate MySQL client connections at a trusted proxy that validates response frame lengths before forwarding
- Enforce network segmentation so bRPC clients cannot reach attacker-controlled MySQL endpoints
- Enable TLS with certificate pinning on MySQL connections to raise the bar for MITM positioning
- Configure process supervisors to rate-limit automatic restarts, limiting denial-of-service amplification during an active attack
# Configuration example
# Verify installed Apache bRPC version and upgrade if below 1.18.0
grep -R "BRPC_VERSION" /path/to/brpc/include/ || true
# Build from source with the fixed release
git clone --branch 1.18.0 https://github.com/apache/brpc.git
cd brpc && mkdir build && cd build && cmake .. && make -j
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

