# CVE-2026-55407: Buffa: Memory Exhaustion Denial of Service in decode_unknown_field via Unbounded Allocation

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 51% of CVEs (2026-11-30)
- Published: 2026-07-16T15:57:31.704Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-f9qc-qg88-7pq5
- Weaknesses: CWE-400, CWE-770, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Buffa is a pure-Rust Protocol Buffers implementation with first-class protobuf editions support. Prior to 0.8.0, the decode_unknown_field function in buffa's protobuf decoder allocated heap memory in proportion to untrusted input (unknown fields in the serialized protobuf) without enforcing an allocation budget, affecting any message decoded from untrusted input using code generated with preserve_unknown_fields=true (the default); a small, well-formed payload of nested unknown fields inside a StartGroup could trigger roughly 22x memory amplification (for example a 64 MiB input forcing about 1.4 GB of heap allocation), and length-delimited unknown fields could be sized arbitrarily, so an unauthenticated attacker could crash a process through memory exhaustion because the top-level message size cap did not account for in-decode amplification. This issue is fixed in version 0.8.0.

(As written by CVE List.)

## Affected

- anthropics buffa: < 0.8.0
- buffa (crates.io): before 0.8.0

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/anthropics/buffa/security/advisories/GHSA-f9qc-qg88-7pq5> (web)
- <https://github.com/anthropics/buffa/pull/184> (web)
- <https://github.com/anthropics/buffa/commit/278fa43fcff661d4ee6bd83b75955a153d4281fc> (web)
- <https://github.com/anthropics/buffa/releases/tag/v0.8.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55407> (advisory)
- <https://github.com/anthropics/buffa> (package)

## Sources

- CVE List: [CVE-2026-55407](https://www.cve.org/CVERecord?id=CVE-2026-55407), CVE Terms of Use, modified 2026-07-16
- GitHub Advisory Database: [GHSA-f9qc-qg88-7pq5](https://github.com/advisories/GHSA-f9qc-qg88-7pq5), CC-BY-4.0, modified 2026-08-28
- NVD: [CVE-2026-55407](https://nvd.nist.gov/vuln/detail/CVE-2026-55407), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-55407 · Whole record: https://cve.day/CVE-2026-55407.json · Rebuilt by cve.day 2026-11-25T22:59:28.407Z
