Vulnerability · Published Jul 16, 2026 · Assigned by GitHub_M
CVE-2026-55407Buffa: Memory Exhaustion Denial of Service in decode_unknown_field via Unbounded Allocation
Medium 6.3
In plain English
A medium-severity uncontrolled resource consumption in buffa from anthropics. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities).
Official description
Buffa is a pure-Rust Protocol Buffers implementation with first-class protobuf editions support. Prior to 0.8.0, the decode_unknown_field function in buffa's protobuf decoder allocated heap memory in proportion to untrusted input (unknown fields in the serialized protobuf) without enforcing an allocation budget, affecting any message decoded from untrusted input using code generated with preserve_unknown_fields=true (the default); a small, well-formed payload of nested unknown fields inside a StartGroup could trigger roughly 22x memory amplification (for example a 64 MiB input forcing about 1.4 GB of heap allocation), and length-delimited unknown fields could be sized arbitrarily, so an unauthenticated attacker could crash a process through memory exhaustion because the top-level message size cap did not account for in-decode amplification. This issue is fixed in version 0.8.0.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| anthropics | buffa | < 0.8.0 |
Weakness: CWE-400, CWE-770, CWE-789 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/anthropics/buffa/security/advisories/GHSA-f9qc-qg88-7pq5 x_refsource_CONFIRM
- https://github.com/anthropics/buffa/pull/184 x_refsource_MISC
- https://github.com/anthropics/buffa/commit/278fa43fcff661d4ee6bd83b75955a153d4281fc x_refsource_MISC
- https://github.com/anthropics/buffa/releases/tag/v0.8.0 x_refsource_MISC