{"id":"CVE-2026-55406","published":"2026-07-16T15:54:29Z","modified":"2026-07-16T16:47:37Z","title":"Buffa: Use-After-Free in OwnedView via Unsound 'static Lifetime Promotion in Deref","vendor":"anthropics","product":"buffa","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00193,"percentile":0.09205,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/anthropics/buffa/security/advisories/GHSA-9pwq-gcrx-wghh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/anthropics/buffa/pull/154","tags":["x_refsource_MISC"]},{"url":"https://github.com/anthropics/buffa/commit/7dcf50a1a40eca6ed8d6c6dd59f4310aa0d68b0e","tags":["x_refsource_MISC"]},{"url":"https://github.com/anthropics/buffa/releases/tag/v0.7.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":1.84},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"buffa","versions":["< 0.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-16T16:47:16.390744Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"buffa","vulnerableRanges":["<0.7.0"],"patched":["0.7.0"],"from":["GHSA-9pwq-gcrx-wghh"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-44949","exploited":false,"provenance":"source"}}