# Buffa has a Use-After-Free in OwnedView via Unsound 'static Lifetime Promotion in Deref

Advisory record · `GHSA-9pwq-gcrx-wghh`

- **Identifiers:** `GHSA-9pwq-gcrx-wghh` · `CVE-2026-55406`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html) · [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md) · [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Published:** 28 Aug 2026
- **Updated:** 28 Aug 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 28 Aug 2026, 18:33 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `buffa` (crates.io): affected `<0.7.0`; fixed in `0.7.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The buffa crate, versions before 0.7.0, has a soundness bug in OwnedView: its Deref implementation exposed borrowed view fields as 'static references, so safe Rust code could keep them after the OwnedView was dropped and its buffer freed. An attacker who can supply input that the application decodes into an OwnedView could cause memory corruption or read freed heap contents, without the calling code using unsafe. Upgrade buffa to version 0.7.0 or later.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 4.0: `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`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 9th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:18 UTC: First seen by agentprime
- 31 Oct 2026, 15:18 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-9pwq-gcrx-wghh)

## Sources

- [GitHub Advisory Database: GHSA-9pwq-gcrx-wghh](https://github.com/advisories/GHSA-9pwq-gcrx-wghh)
- [OSV: GHSA-9pwq-gcrx-wghh](https://osv.dev/vulnerability/GHSA-9pwq-gcrx-wghh)
- <https://github.com/anthropics/buffa/security/advisories/GHSA-9pwq-gcrx-wghh>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55406>
- <https://github.com/anthropics/buffa/pull/154>
- <https://github.com/anthropics/buffa/commit/7dcf50a1a40eca6ed8d6c6dd59f4310aa0d68b0e>
- <https://github.com/anthropics/buffa>
- <https://github.com/anthropics/buffa/releases/tag/v0.7.0>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-9pwq-gcrx-wghh>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-9pwq-gcrx-wghh/>. Everything for agents: <https://agentprime.io/llms.txt>.
