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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.4
- **CVSS:** 5.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.09% (percentile 65, 2026-11-26)
- **CWE:** CWE-125
- **Aliases:** GHSA-qqff-4vw4-f6hx, RUSTSEC-2022-0068
- **Published:** 2022-11-30T00:00:00.000Z
- **Modified:** 2026-11-09T11:00:02.621Z

## Who should check

- Projects that depend on crates.io package capnp (\>= 0.15.0, \< 0.15.2)
- Anyone running 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

## 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.

## Affected and fixed versions

- crates.io `capnp`: affected \>= 0.15.0, \< 0.15.2; fixed 0.15.2, 0.14.11, 0.13.7 (osv)
- 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 (cvelist)

## Mitigation

- Upgrade capnp to one of 0.15.2, 0.14.11, 0.13.7 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-46149. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-46149.md
Affected: capnp >= 0.15.0, < 0.15.2
Fixed in: 0.15.2, 0.14.11, 0.13.7

Steps:
1. Search this machine and project for capnp (crates.io), capnproto: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-46149 being exploited?

There is no confirmed exploitation: CVE-2022-46149 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.09% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-46149?

Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2022-46149?

capnp \>= 0.15.0, \< 0.15.2.

### Is there a fix for CVE-2022-46149?

Yes. Fixed in 0.15.2, 0.14.11, 0.13.7. Upgrade capnp to one of 0.15.2, 0.14.11, 0.13.7 (or later in the same release line).

### How do I check if I'm affected by CVE-2022-46149?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-46149>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qqff-4vw4-f6hx> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2022-0068> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-46149> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-46149>
