Threat reportVulnerabilityTL-2026-1039
CVE-2026-55407: Unbounded Heap Allocation DoS in Anthropic's Buffa Rust Protobuf Library (decode_unknown_field)
Buffa, Anthropic's Rust protobuf implementation (and the related connectrpc library), contained an unbounded heap-allocation flaw in decode_unknown_field's handling of WireType::StartGroup, allowing a crafted 64 MiB payload of nested minimal varint fields to force ~1.4 GB of heap allocation (~22x amplification) and trigger an OOM crash.
Key facts
Detection coverage
As of 2026-11-11, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-1039 across Splunk SPL, Microsoft KQL and Sigma, covering 23 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: Protobuf StartGroup Unknown-Field Amplification Wire Pattern (CVE-2026-55407 Exploitation)
Detects the documented 0x0B [0x08,0x00]* 0x0C wire-format byte signature (StartGroup tag / repeated minimal 2-byte varint field pairs / EndGroup tag) traversing network sensors ahead of a buffa/connectrpc gRPC decoder, indicating an attempt to exploit decode_unknown_field's unbounded allocation flaw against a public-facing Exploit Public-Facing Application vector.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1190, T1595.002
- Data sources: network_traffic, suricata, stream:tcp, ids_ips
- Severity: medium
- Confidence: high
Splunk SPL
index=network_traffic sourcetype="stream:tcp" OR sourcetype="suricata" dest_port IN (443,50051,8080,9090)
| eval hex_payload=lower(payload_hex)
| regex hex_payload="0b(0800){20,}0c"
| eval field_pair_count=mvcount(split(hex_payload,"0800"))-1
| where field_pair_count > 100
| table _time, src_ip, dest_ip, dest_port, field_pair_count, hex_payload
| sort -field_pair_countMicrosoft KQL
let LookbackHours = 24h;
NetworkSessionEvents
| where Timestamp > ago(LookbackHours)
| where DestPort in (443, 50051, 8080, 9090)
| where PayloadHexPreview matches regex @"0b(0800){20,}0c"
| extend FieldPairCount = (strlen(PayloadHexPreview) - strlen(replace_string(PayloadHexPreview, "0800", ""))) / 4
| where FieldPairCount > 100
| project Timestamp, LocalIP, RemoteIP, DestPort, FieldPairCount, PayloadHexPreview
| order by FieldPairCount descSigma
title: Protobuf StartGroup Unknown-Field Amplification Wire Pattern (CVE-2026-55407)
id: 8f3c1e2a-55d4-4b1a-9c2e-6f0a1b2c3d4e
status: experimental
description: Detects the documented 0x0B [0x08,0x00]* 0x0C wire-format signature used to exploit buffa/connectrpc's decode_unknown_field unbounded allocation flaw via WireType::StartGroup nested unknown-field amplification
references:
- https://github.com/advisories/GHSA-f9qc-qg88-7pq5
- https://www.endorlabs.com/learn/endor-labs-ai-sast-finds-zero-day-cve-2026-55407-buffa
author: Threadlinqs Team
date: 2026-07-01
tags:
- attack.initial-access
- attack.t1190
- attack.reconnaissance
- attack.t1595.002
- cve.2026.55407
logsource:
category: network_traffic
product: any
detection:
selection:
payload|contains: '0b08000800080008000800'
condition: selection
falsepositives:
- Legitimate protobuf messages using large repeated small groups (rare in production traffic)
level: mediumKnown false positives:
- Legitimate high-cardinality protobuf messages that happen to use many small repeated groups
- Fuzzers/QA test harnesses probing the same gRPC endpoint intentionally
Tuning notes: Raise field_pair_count threshold based on baseline traffic to the specific gRPC endpoint; scope dest_port list to the org's actual gRPC/connectrpc listener ports; whitelist known internal load-testing source IPs.
- Protobuf StartGroup Unknown-Field Amplification Wire Pattern (CVE-2026-55407 Exploitation) · unlock with TL Creds
- Anomalous Unknown-Field Count Breach in [indicator] Decoder Instrumentation (Post-Exploitation Resource Exhaustion) · unlock with TL Creds
- gRPC/[indicator] Service OOM-Kill Crash-Loop Following Untrusted Decode (Impact / Resource Exhaustion Escalation) · unlock with TL Creds
- Protobuf StartGroup Unknown-Field Amplification Wire Pattern (CVE-2026-55407 Exploitation) · unlock with TL Creds
- Anomalous Unknown-Field Count Breach in [indicator] Decoder Instrumentation (Post-Exploitation Resource Exhaustion) · unlock with TL Creds
- gRPC/[indicator] Service OOM-Kill Crash-Loop Following Untrusted Decode (Impact / Resource Exhaustion Escalation) · unlock with TL Creds
- Anomalous Unknown-Field Count Breach in [indicator] Decoder Instrumentation (Post-Exploitation Resource Exhaustion) · unlock with TL Creds
- gRPC/[indicator] Service OOM-Kill Crash-Loop Following Untrusted Decode (Impact / Resource Exhaustion Escalation) · unlock with TL Creds
Indicators of compromise
As of 2026-11-11, Threadlinqs Intelligence tracks 23 indicators of compromise for TL-2026-1039.
Sample indicators (1 of 23)
- File hash:
278fa43fcff661d4ee6bd83b75955a153d4281fc
Defanged, TLP:CLEAR. Full set of 23 indicators: unlock with TL Creds.
Technical analysis
Discovered by Endor Labs' AI SAST engine and disclosed via Anthropic's bug bounty program; patched in buffa/connectrpc 0.8.0.
CVE-2026-55407 (GHSA-f9qc-qg88-7pq5) is an uncontrolled resource consumption vulnerability in decode_unknown_field, located in buffa/src/encoding.rs, reachable through the default public decode APIs Message::decode, Message::decode_from_slice, and MessageView::decode_view whenever generated code retains unknown fields (preserve_unknown_fields=true, the default).
Two distinct amplification vectors exist in the same function. The first, a flat WireType::LengthDelimited path (encoding.rs lines ~490-499), allocates a Vec<u8> sized directly from an attacker-controlled varint length prefix; a `buf.remaining()` check prevents out-of-bounds reads but places no independent cap on the size of the allocation itself, yielding roughly 2x amplification relative to wire size. The second and more severe vector abuses WireType::StartGroup (encoding.rs lines ~500-520): the decoder loops over nested fields until an EndGroup marker, pushing one UnknownField struct (~40 bytes on 64-bit targets) per iteration. Because a minimal field can be encoded in just 2 wire bytes (a 1-byte tag plus a 1-byte zero varint), an attacker can pack roughly 33.5 million such fields into a single group inside a 64 MiB message, producing about 1.41 GB of live heap - approximately 22x amplification. Recursion depth is bounded, but there is no limit on the number of fields processed per group or per message.
Endor Labs demonstrated the exploit with a wire payload of `0x0b` (StartGroup, field 1) followed by repeated `[0x08, 0x00]` two-byte varint pairs and a closing `0x0c` (EndGroup), decoded against the zero-field `google.protobuf.Empty` message type (exploitable purely via forward-compatible unknown-field retention, with no declared fields required). In a Docker container capped at 256 MiB, the 64 MiB payload reliably produced an OOM-kill (process exit code 137). Buffa's DecodeOptions::DEFAULT_MAX_MESSAGE_SIZE (~2 GiB) bounds the incoming wire size but does not constrain in-memory expansion from group-based unknown-field amplification.
The flaw was found by Endor Labs' AI-assisted static analysis (SAST) engine through data-flow tracing of attacker-controlled wire values into unbounded allocation sinks - a class of bug traditionally hard to automate against memory-safe languages that lack classic unsafe-pointer primitives. It was reported to Anthropic through its bug bounty program, validated by Anthropic, and resolved collaboratively; Anthropic paid a $600 bounty. Buffa and connectrpc 0.8.0 fix the issue by enforcing a configurable per-message limit on the number of retained unknown fields (default: 1,000,000 fields), capping worst-case unknown-field overhead at roughly 40 MB per message. Consumers who do not need unknown-field preservation can also mitigate by regenerating code with preserve_unknown_fields=false, which removes the vulnerable retention path entirely.
No in-the-wild exploitation has been reported; this was a coordinated, pre-emptive disclosure. Real-world severity is deployment dependent: services running multiple replicas behind supervision/auto-restart see graceful, low-impact degradation, while single-instance or unsupervised deployments - and high-concurrency gRPC services accepting the common 4 MiB default message-size limit - face a repeatable, unauthenticated crash-loop DoS with low attacker cost (small payload, no authentication required).
MITRE ATT&CK techniques by tactic:
Discovery
T1046 Network Service Discovery; T1518 Software Discovery
Initial Access
T1190 Exploit Public-Facing Application
Impact
T1499 Endpoint Denial of Service; T1499.002 Endpoint Denial of Service: Service Exhaustion Flood; T1499.003 Endpoint Denial of Service: Application Exhaustion Flood; T1499.004 Endpoint Denial of Service: Application or System Exploitation
Resource Development
T1587 Develop Capabilities; T1587.004 Develop Capabilities: Exploits; T1588 Obtain Capabilities
Reconnaissance
T1592 Gather Victim Host Information; T1594 Search Victim-Owned Websites; T1595 Active Scanning; T1596 Search Open Technical Databases
Remediation
Patches
- buffa 0.8.0 - configurable per-message unknown-field count limit (default 1,000,000 fields)
- connectrpc 0.8.0 - inherits the buffa fix
Immediate actions
- Upgrade buffa and connectrpc to version 0.8.0 or later
- If upgrading is not immediately possible, regenerate protobuf code with preserve_unknown_fields=false to eliminate the unknown-field retention path
- Apply strict message-size limits (well below the library default of ~2 GiB) at the transport/gRPC layer for any service decoding untrusted protobuf input
- Run decoders in memory-cgroup-limited containers with automatic restart/supervision to bound the blast radius of any single OOM event
Workarounds
- Regenerate protobuf bindings with preserve_unknown_fields=false
- Enforce a small, application-appropriate max message size ahead of the default limit
- Rate-limit and authenticate inbound gRPC/protobuf endpoints where feasible to reduce anonymous DoS exposure
Longer-term hardening
- Deploy multiple replicas with health checks and auto-recovery for any service that parses untrusted protobuf/gRPC traffic
- Add fuzzing/resource-exhaustion test coverage for protobuf decoders as part of CI, including nested-group and length-prefix amplification cases
- Track and pin dependency versions for buffa/connectrpc via Cargo.lock and enable automated advisory scanning (cargo-audit / cargo-deny) in CI
Affected and fixed versions
- Anthropic — buffa
Vulnerable versions: < 0.8.0
Fixed in: 0.8.0 - Anthropic — connectrpc
Vulnerable versions: < 0.8.0
Fixed in: 0.8.0
Timeline
Last updated · revalidated 1× · latest source
- buffa v0.8.0 published on GitHub Releases, bundling the unknown-field allocation-limit fix alongside unrelated feature work (pluggable owned types, lazy view decoding, UTF-8 validation).
- Endor Labs published a technical writeup detailing the exploit chain, PoC construction, and Docker-based OOM-kill reproduction.
- CVE-2026-55407 / GHSA-f9qc-qg88-7pq5 assigned and bounty of $600 paid to the reporting researchers.
- Fix shipped in buffa and connectrpc version 0.8.0, adding a configurable per-message unknown-field count limit (default 1,000,000 fields).
- Anthropic validated both the flat LengthDelimited and StartGroup-nested amplification vectors and collaborated on CVSS 4.0 scoring given deployment-dependent severity.
- Vulnerability reported to Anthropic through its bug bounty program after being surfaced by Endor Labs' AI SAST engine via data-flow analysis of buffa's decode_unknown_field.
- GitHub security advisory GHSA-f9qc-qg88-7pq5 published on anthropics/buffa (Moderate, CVSS 4.0 6.3), listing buffa and connectrpc < 0.8.0 as affected and 0.8.0 as patched.
- Cyberpress published a secondary technical summary of the vulnerability and patch.
- Cyber Security News published coverage of the disclosure, first surfacing it to the harness's monitored feeds.
- NVD publishes CVE-2026-55407 with CWE-400, CWE-770 and CWE-789, linking fix commit 278fa43, PR #184 and the v0.8.0 release.
- NVD record modified; carries CISA SSVC data (exploitation: none, automatable: no, technical impact: partial).
- Endor Labs updates its blog post on the vulnerability.
Update history
- 2026-11-11 — CVE-2026-55407: Memory-Amplification DoS in Anthropic's buffa Rust library (and connectrpc) via unknown-field decoding: What changed No field escalations. Severity, CVSS score (6.3) and PATCHED status are unchanged. New indicators (7) Indicator values are withheld at this access level. New CVEs (0) None. CWE-789 is newly listed by NVD.
Sources cited
- GHSA-f9qc-qg88-7pq5 GitHub · Advisory · 2026-06-30
- Endor Labs' AI SAST Finds Zero Day Memory-Amplification DoS in Anthropic's buffa library endorlabs.com · Research · 2026-06-30
- anthropics/buffa - Rust implementation of protobuf GitHub · Code repository
- buffa Releases (v0.8.0) GitHub · Code repository · 2026-06-25
- Anthropic's Buffa Rust Library 0-Day Vulnerability Enables DoS Attack cybersecuritynews.com · News · 2026-07-01
- Anthropic buffa Library Hit by Zero-Day DoS Flaw in Rust Protobuf Decoder cyberpress.org · News · 2026-07-01
Previous and next in vulnerability
- Adobe Patches Seven Priority-1 ColdFusion and Campaign Classic Flaws (CVE-2026-48276, CVE-2026-48277, CVE-2026-48281, CVE-2026-48282, CVE-2026-48316, CVE-2026-48286) Previous report
- Multiple Fluentd Vulnerabilities: RCE via Tag Placeholder (CVE-2026-44024), Info Disclosure (CVE-2026-44025), Decompression Bomb DoS (CVE-2026-44160), and SSRF (CVE-2026-44161) Next report
Drafted by the Threadlinqs research pipeline from 6 sources; published ; last updated .