Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-55407: CWE-400: Uncontrolled Resource Consumption in anthropics buffa

0
Medium
VulnerabilityCVE-2026-55407cvecve-2026-55407cwe-400cwe-770cwe-789
Published: 07/16/2026 (07/16/2026, 15:57:31 UTC)
Source: CVE Database V5
Vendor/Project: anthropics
Product: buffa

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.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

crates.iomore threats →ai
github/anthropics/buffa
pkg:cargo/github/anthropics/buffa
Affected versions
<0.8.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 16:48:36 UTC

Technical Analysis

CVE-2026-55407 describes an uncontrolled resource consumption vulnerability in the buffa protobuf decoder before version 0.8.0. The decode_unknown_field function allocated heap memory proportional to untrusted input without enforcing limits, especially when decoding unknown fields with preserve_unknown_fields=true (default). Nested unknown fields inside a StartGroup could cause approximately 22x memory amplification, e.g., a 64 MiB input could trigger about 1.4 GB of heap allocation. Length-delimited unknown fields could be arbitrarily large, enabling an unauthenticated attacker to exhaust memory and crash the process. The vulnerability is resolved in buffa version 0.8.0.

Potential Impact

An unauthenticated attacker can supply crafted protobuf messages with unknown fields that cause excessive heap memory allocation during decoding. This can lead to memory exhaustion and process crashes, resulting in denial of service. The amplification effect means relatively small inputs can cause large memory usage spikes.

Mitigation Recommendations

Upgrade buffa to version 0.8.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly stated but the fix is included in version 0.8.0, so upgrading to this version or newer is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-16T21:48:43.124Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5907ce68715ace4356ca82

Added to database: 07/16/2026, 16:33:18 UTC

Last enriched: 07/16/2026, 16:48:36 UTC

Last updated: 07/16/2026, 19:43:18 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses