# CVE-2022-46149: Cap'n Proto vulnerable to out-of-bounds read due to logic error handling list-of-list.

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L`
- 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): 1.24%, higher than 69% of CVEs (2026-11-30)
- Published: 2022-11-30T00:00:00.000Z
- Modified: 2026-11-09T11:00:02.621Z
- Also known as: GHSA-qqff-4vw4-f6hx, RUSTSEC-2022-0068
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Cap'n Proto is a data interchange format and remote procedure call (RPC) system. Cap'n Proro prior to versions 0.7.1, 0.8.1, 0.9.2, and 0.10.3, as well as versions of Cap'n Proto's Rust implementation prior to 0.13.7, 0.14.11, and 0.15.2 are vulnerable to out-of-bounds read due to logic error handling list-of-list. This issue may lead someone to remotely segfault a peer by sending it a malicious message, if the victim performs certain actions on a list-of-pointer type. Exfiltration of memory is possible if the victim performs additional certain actions on a list-of-pointer type. To be vulnerable, an application must perform a specific sequence of actions, described in the GitHub Security Advisory. The bug is present in inlined code, therefore the fix will require rebuilding dependent applications. Cap'n Proto has C++ fixes available in versions 0.7.1, 0.8.1, 0.9.2, and 0.10.3. The `capnp` Rust crate has fixes available in versions 0.13.7, 0.14.11, and 0.15.2.

(As written by CVE List.)

## Affected

- capnproto capnproto: < 0.7.1; >= 0.8.0, < 0.8.1; >= 0.9.0, < 0.9.2; >= 0.10.0, < 0.10.3; >= 0.13.0, < 0.13.7; >= 0.14.0, < 0.14.11; >= 0.15.0, < 0.15.2; before 0.7.1; from 0.9.0 before 0.9.2; from 0.10.0 before 0.10.3; 0.8.0
- capnp (crates.io): from 0.15.0 before 0.15.2; from 0.14.0 before 0.14.11; before 0.13.7; from 0.0.0-0 before 0.13.7; from 0.14.0-0 before 0.14.11; from 0.15.0-0 before 0.15.2
- capnproto capnp: before 0.13.7; from 0.14.0 before 0.14.11; from 0.15.0 before 0.15.2
- fedoraproject fedora: 36; 37

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L`

## References

- <https://github.com/capnproto/capnproto/security/advisories/GHSA-qqff-4vw4-f6hx> (patch, third-party-advisory, web)
- <https://github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9> (patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WKXM4JAFXLTXU5IQB3OUBQVCIICZWGYX/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZOCQQOPMVQOFUWBWAGVGN76OYAV3WXY4/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTS6TWD6K2NKXLEEFBPROQXMOFUTEYWY/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EAHKLUMJAXJEV5BPBS5XXWBQ3ZTHGOLY/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-46149> (advisory)
- <https://dwrensha.github.io/capnproto-rust/2022/11/30/out_of_bounds_memory_access_bug.html> (web)
- <https://github.com/capnproto/capnproto> (package)
- <https://github.com/capnproto/capnproto/tree/master/security-advisories/2022-11-30-0-pointer-list-bounds.md> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EAHKLUMJAXJEV5BPBS5XXWBQ3ZTHGOLY> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTS6TWD6K2NKXLEEFBPROQXMOFUTEYWY> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WKXM4JAFXLTXU5IQB3OUBQVCIICZWGYX> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZOCQQOPMVQOFUWBWAGVGN76OYAV3WXY4> (web)
- <https://rustsec.org/advisories/RUSTSEC-2022-0068.html> (advisory, web)
- <https://crates.io/crates/capnp> (package)

## Sources

- CVE List: [CVE-2022-46149](https://www.cve.org/CVERecord?id=CVE-2022-46149), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-qqff-4vw4-f6hx](https://github.com/advisories/GHSA-qqff-4vw4-f6hx), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2022-0068](https://rustsec.org/advisories/RUSTSEC-2022-0068.html), CC0-1.0, modified 2026-11-09
- NVD: [CVE-2022-46149](https://nvd.nist.gov/vuln/detail/CVE-2022-46149), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-46149 · Whole record: https://cve.day/CVE-2022-46149.json · Rebuilt by cve.day 2026-11-25T22:58:17.145Z
