Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker supplies protobuf payload
-
DeliveryApplication decodes into OwnedView, stores field reference
-
ExploitOwnedView dropped, Bytes buffer freed
-
ExecutionStored reference dangles into freed heap
-
PersistApplication reads dangling reference
-
ImpactFreed heap contents disclosed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires calling application code that captures a view field reference (e.g., &str, &[u8]) from an OwnedView handle and holds that reference in a data structure or variable that outlives the OwnedView itself. The compiler does not reject this pattern prior to 0.7.0 because the Deref impl presented the field lifetimes as 'static. No network access, authentication, or attacker-controlled input is required for the memory-safety violation to occur - however, for information disclosure to be meaningful to an attacker, the freed heap region must be subsequently reallocated with sensitive data and the dangling reference must be read and surfaced (e.g., logged, returned in a response). Exploitation is limited to: (1) Rust applications directly using the buffa crate's OwnedView type, (2) code paths that store field references beyond the OwnedView's lifetime, and (3) Buffa versions before 0.7.0. Applications using only short-lived, stack-scoped borrows from OwnedView are not exposed even on vulnerable versions. |
| Impact | The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N) scores 5.9 (Medium), and the vendor's own CHANGELOG explicitly qualifies the exposure: 'in practice this required the calling application to deliberately store a field reference beyond the handle's lifetime, so the practical exposure is limited.' This is not a remotely triggerable flaw against a networked service endpoint; exploitation requires specific application-level code that retains OwnedView field references across the handle's drop point. The local attack vector and high-complexity/specific-attack-requirement ratings are consistent with this description. There is no CISA KEV listing and no public POC or exploit code identified at time of analysis, so EPSS risk is expected to be low. Real-world impact is bounded by whether downstream applications actually exhibit the misuse pattern; library consumers using idiomatic short-lived borrows are not exposed. The primary risk category is confidentiality (VC:H - freed heap contents may contain sensitive protobuf field data from prior requests), with limited integrity impact (VI:L - memory corruption is theoretically possible). No EPSS value was provided in the input data - exploitation probability cannot be quantified from available signals. |
| Exploit ScenarioDerived | An application decodes a protobuf message into an OwnedView<PersonView> and stores a field reference such as let name: &str = &*owned_view.name into a longer-lived struct or async task. When the OwnedView is subsequently dropped at end of scope, the underlying Bytes buffer is freed. The stored name reference now points into freed heap memory; a subsequent read of name yields freed heap contents, potentially disclosing data from a prior allocation such as a previous request's protobuf field values. No POC has been identified; the scenario requires the specific misuse pattern acknowledged by the vendor. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 16, 2026
Use-after-free in Buffa's OwnedView<V> type allows safe Rust calling code to hold field references that outlive the backing buffer, enabling read of freed heap memory and information disclosure. Affected are all Buffa releases prior to 0.7.0 (CPE: cpe:2.3:a:anthropics:buffa:*:*:*:*:*:*:*:*). The flaw is a soundness violation - no unsafe code in the caller is required - making it particularly insidious in a memory-safe language context. No public exploit identified at time of analysis and no CISA KEV listing; the CVSS 4.0 score of 5.9 reflects the high-complexity exploitation conditions acknowledged by the vendor.
RemediationAI
Vendor-released patch: Buffa 0.7.0, available at https://github.com/anthropics/buffa/releases/tag/v0.7.0. Upgrading to 0.7.0 is the definitive fix. The patch removes the Deref<Target = V> implementation from OwnedView<V> entirely - a breaking change - so callers previously using direct field access via Deref (e.g., owned_view.name) must migrate to either the new reborrow() method (let person = owned.reborrow(); person.name) or the per-message generated FooOwnedView wrapper types with &self-tied accessor methods (owned_view.name()). Both alternatives tie every borrow lifetime to the OwnedView handle, making the misuse pattern the compiler rejects rather than silently permits. Fields whose proto names collide with reserved OwnedView wrapper method names remain accessible via view() with a build-time CodeGenWarning::OwnedViewAccessorSuppressed emitted. If immediate upgrade is not possible, the workaround is to audit all callsites using OwnedView and ensure no field references are stored in data structures that outlive the OwnedView handle - this is a code-review control with no automated enforcement prior to 0.7.0.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Buffa is a pure-Rust Protocol Buffers implementation (cpe:2.3:a:anthropics:buffa:*:*:*:*:*:*:*:*) with first-class protobuf editions support, developed by Anthropics. The OwnedView<V> type is a self-referential struct designed to allow decoded protobuf views to satisfy 'static bounds required by tower services, BoxFuture<'static, _>, and tokio::spawn. Internally, OwnedView stores a bytes::Bytes reference-counted buffer alongside the decoded view, using a transmute in OwnedView::decode to extend the view's lifetime to &'static [u8]. The Deref<Target = V> implementation then surfaced this synthetic 'static lifetime directly to callers: field types like &'static str and &'static [u8] were visible to the borrow checker as genuinely 'static, permitting any calling code to store those references in longer-lived data structures without compiler objection. When the OwnedView was subsequently dropped and its Bytes buffer freed, those stored references became dangling pointers into freed heap memory. The assigned CWE-200 (Exposure of Sensitive Information) captures the information-disclosure outcome, but the root cause is more precisely a use-after-free (CWE-416) arising from unsound lifetime extension via transmute - the 'Buffer Overflow' tag in the advisory metadata is misleading and does not match the described mechanism.
Know when Buffa gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Local vector because misuse requires specific application code pattern; AC:H for the non-default usage condition; C:H for freed-heap disclosure; I:L for theoretical memory corruption; no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Buffa is a pure-Rust Protocol Buffers implementation with first-class protobuf editions support. Prior to 0.7.0, a soundness bug in the OwnedView<V> type allowed safe Rust code to trigger a use-after-free: the OwnedView::decode constructor transmuted a borrowed slice to &'static [u8], and the Deref implementation exposed the promoted 'static lifetime on borrowed view fields (such as &'static str and &'static [u8]) to callers, so the borrow checker permitted those references to outlive the OwnedView; once the OwnedView was dropped and its backing buffer freed, the references became dangling, enabling memory corruption, information disclosure of freed heap contents, and cross-thread misuse without any unsafe code in the calling application. This issue is fixed in version 0.7.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-44949
GHSA-9pwq-gcrx-wghh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB