CVE-2026-55406 Details
Description
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.
A use-after-free vulnerability has been identified in the Buffa Protocol Buffers library, specifically in versions prior to 0.7.0. The issue arises from a soundness bug in the OwnedView<V> type, where the OwnedView::decode constructor improperly promoted a borrowed slice to a 'static lifetime. This mismanagement allowed references to outlive the OwnedView instance, leading to dangling references after the OwnedView was dropped. The vulnerability could be exploited to cause memory corruption, disclose freed heap contents, and enable cross-thread misuse, all without any unsafe code in the calling application.
Users are advised to update Buffa to version 0.7.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 16, 2026CISA-ADP
Assessed Jul 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/anthropics/buffa/commit/7dcf50a1a40eca6ed8d6c6dd59f4310aa0d68b0e | [email protected] | Source CodeVendor |
| https://github.com/anthropics/buffa/pull/154 | [email protected] | Source CodeVendor |
| https://github.com/anthropics/buffa/releases/tag/v0.7.0 | [email protected] | Release NotesVendor |
| https://github.com/anthropics/buffa/security/advisories/GHSA-9pwq-gcrx-wghh | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| anthropics buffa | < 0.7.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 16, 2026 | New CVE Received | [email protected] |
| Jul 16, 2026 | CVE Modified | CISA-ADP |
Volerion