CVE-2026-74755
High · 7.5CVSS
7.5
EPSS
—
Published
Oct 21, 2026
CISA due date
—
The record
An integer underflow in the mcpack2pb component of Apache bRPC (version < 1.18.0) on all platforms allows remote attackers to crash a bRPC server by sending a request containing a string field with a zero value_size. The UnparsedValue::as_string() function computes `_size - 1` without validating `_size`; when value_size is 0 the expression underflows to SIZE_MAX, resize() throws std::length_error, and because the exception is not caught on the request parsing path the process aborts (SIGABRT). Root Cause: In src/mcpack2pb/parser.cpp, UnparsedValue::as_string() resizes the output string to `_size - 1`, where `_size` is the value_size of a string field taken directly from the network data. A value_size of 0 underflows the unsigned size_t, and the subsequent resize() throws an exception that is not caught. Affected Scenarios: bRPC servers that accept nshead frames wired to the ubrpc mcpack2 adaptor (for example the NsheadService + UbrpcMcpack2Adaptor deployment pattern) can be crashed by a single unauthenticated request. Stock open-source bRPC registers the ubrpc/nshead_mcpack protocols as client-only, so default server configurations are not affected. How to Fix: 1. Upgrade bRPC to a version that includes this fix. 2. Apply the patch in PR https://github.com/apache/brpc/pull/3450
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-111735 P-Net before 1.0.3 contains an integer underflow in pf_cpm_c_data_ind(). CWE-191
- CVE-2026-103411 An Integer Underflow vulnerability in DhcpMessageDecoder in Juniper Networks Session… CWE-191
- CVE-2026-111808 Apache Traffic Server can be used to exhaust an HTTP/1.1 origin's worker pool via a… CWE-191
- CVE-2026-88143 Heap-based buffer overflow in Windows Storage Spaces Controller allows an authorized… CWE-191
- CVE-2026-85339 Remote Code Execution in Windows Routing and Remote Access Service (RRAS) allows attacker… CWE-191
- CVE-2026-83838 Integer underflow (wrap or wraparound) in Windows Bluetooth A2DP driver allows an… CWE-191
- CVE-2026-83836 Heap-based buffer overflow in Windows Event Tracing allows an unauthorized attacker to… CWE-191
- CVE-2026-83676 Integer underflow (wrap or wraparound) in Windows Installer allows an authorized attacker… CWE-191