{"id":"CVE-2026-55407","published":"2026-07-16T15:57:31Z","modified":"2026-07-16T18:04:39Z","title":"Buffa: Memory Exhaustion Denial of Service in decode_unknown_field via Unbounded Allocation","vendor":"anthropics","product":"buffa","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00755,"percentile":0.56037,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/anthropics/buffa/security/advisories/GHSA-f9qc-qg88-7pq5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/anthropics/buffa/pull/184","tags":["x_refsource_MISC"]},{"url":"https://github.com/anthropics/buffa/commit/278fa43fcff661d4ee6bd83b75955a153d4281fc","tags":["x_refsource_MISC"]},{"url":"https://github.com/anthropics/buffa/releases/tag/v0.8.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":11.21},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"buffa","versions":["< 0.8.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-16T18:03:55.427453Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"buffa","vulnerableRanges":["<0.8.0"],"patched":["0.8.0"],"from":["GHSA-f9qc-qg88-7pq5"],"provenance":"source"}],"summary":{"text":"Buffa, a pure-Rust Protocol Buffers implementation from anthropics, has a flaw in the decode_unknown_field function of its protobuf decoder, which allocates heap memory in proportion to untrusted unknown fields without enforcing an allocation budget. An unauthenticated attacker who can send a crafted payload to a process decoding messages with preserve_unknown_fields=true (the default) can exhaust its memory and crash it, since a small nested StartGroup payload can cause roughly 22x amplification and length-delimited unknown fields can be sized arbitrarily.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:07Z"},"euvd":{"id":"EUVD-2026-44951","exploited":false,"provenance":"source"}}