{"answers":{"affected":"2 open source packages ship an affected version, including buffa.","exploited":"There is no known exploitation of CVE-2026-55406 in the wild and no public exploit code.","fix":"Upgrade buffa to 0.7.0 or later.","what":"CVE-2026-55406 is a medium-severity use after free vulnerability in anthropics buffa, published on 16 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55406 and fix it if it is affected.\n\nWhat it is: CVE-2026-55406 is a medium-severity use after free vulnerability in anthropics buffa, published on 16 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-55406 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- buffa (crates.io): affected all versions; fixed in 0.7.0\n- buffa (crates.io): affected all versions; fixed in 0.7.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55406/ (Markdown: https://insights.sbomify.com/CVE-2026-55406/index.md)","id":"CVE-2026-55406","markdown":"https://insights.sbomify.com/CVE-2026-55406/index.md","name":"CVE-2026-55406","record":{"aliases":["GHSA-9pwq-gcrx-wghh"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Rust protobuf library","requires_auth":"none","summary":"A soundness bug in Buffa allows safe Rust code to trigger use-after-free, leading to memory corruption and information disclosure.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"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","version":"4.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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\u003cV\u003e type allowed safe Rust code to trigger a use-after-free: the OwnedView::decode constructor transmuted a borrowed slice to \u0026'static [u8], and the Deref implementation exposed the promoted 'static lifetime on borrowed view fields (such as \u0026'static str and \u0026'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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Buffa: Use-After-Free in OwnedView via Unsound 'static Lifetime Promotion in Deref","id":"CVE-2026-55406","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"use_after_free","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"Buffa: Memory Exhaustion Denial of Service in decode_unknown_field via Unbounded Allocation","id":"CVE-2026-55407"},"packages":[{"ecosystem":"crates.io","fixed":["0.7.0"],"introduced":["0"],"last_affected":[],"package":"buffa","purl":null,"source":"GHSA-9pwq-gcrx-wghh"},{"ecosystem":"crates.io","fixed":["0.7.0"],"introduced":["0"],"last_affected":[],"package":"buffa","purl":"pkg:cargo/buffa","source":"GHSA-9pwq-gcrx-wghh"}],"prev":{"headline":"LangChain4j: SQL injection via metadata filters in langchain4j-mariadb and langchain4j-pgvector","id":"CVE-2026-55405"},"products":["buffa"],"published":"2026-07-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-16","vendors":["anthropics"]},"summary":"A soundness bug in Buffa allows safe Rust code to trigger use-after-free, leading to memory corruption and information disclosure.","url":"https://insights.sbomify.com/CVE-2026-55406/"}