{"schemaVersion":4,"id":"CVE-2026-78048","aliases":[],"status":"published","duplicateOf":null,"title":"Apache bRPC: Remote Denial of Service via Out-of-Bounds Dynamic Table Sizing in HPACK Decoder","description":"A reachable-assertion flaw in the HPACK header-compression decoder of the HTTP/2 (h2/gRPC) stack in Apache bRPC (version < 1.18.0) on all platforms allows a remote attacker to crash the server process by sending a crafted sequence of HPACK headers, resulting in a denial of service.\n\nRoot Cause:\nIn src/brpc/details/hpack.cpp, IndexTable::Init sizes the dynamic-table ring buffer as num_headers = max_size / (32 + 2), i.e. it assumes a minimum table entry of 34 bytes (name >= 1 byte + value >= 1 byte + 32 bytes of overhead). However, RFC 7541 section 4.1 specifies that the minimum entry size is 33 bytes, because the value may be empty (name >= 1 byte + value == 0 + 32 bytes). For the default 4096-byte table this allocates only 120 slots (4096/34). Eviction in AddHeader is driven by byte usage (_max_size), not by slot count, so a peer can add 121 minimal 33-byte entries (121*33 = 3993 <= 4096) without triggering eviction. The 121st AddHeader then hits CHECK(!_header_queue.full()), which aborts the process.\n\nAffected Scenarios:\nUse a bRPC server that serves HTTP/2 or gRPC requests (e.g. via the h2 protocol) from an untrusted network. The malicious header block is processed during HPACK decoding of incoming requests without authentication.\n\nHow to Fix:\n(Choose one of the following options)\n1. Upgrade bRPC to version 1.18.0, which fixes this issue.\n2. Apply this patch: https://github.com/apache/brpc/pull/3462\n\nNote:\nThe fix sizes the dynamic table for the 33-byte minimum entry (max_size / (32 + 1)) and ensures at least one ring-buffer slot is kept when max_size is smaller than the minimum entry, so that initialization cannot fail on malloc(0).","dates":{"published":"2026-10-21T11:51:58.752Z","modified":"2026-10-30T16:49:25.386Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","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:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0063,"percentile":0.51659,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0063},"history":[{"date":"2026-10-22T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0063,"percentile":0.51659}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0063,"percentile":0.51659}]},"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-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"}],"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:51:58.752Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-30T16:49:25.386Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (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,75],"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.0063,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-30T16:49:25.386Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-30T16:49:25.386Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-10-30T16:48:59.723Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0063,"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:09.967Z","stale":false,"partial":false}}