# CVE-2022-46149: RUSTSEC-2022-0068 - out-of-bounds read possible when setting list-of-pointers

Source: https://junglewise.ai/threats/cve-2022-46149-cap-n-proto-and-its-rust-implementation-vulnerable-to-out-of  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-11-30  
License: CC BY 4.0 with a link back

CVE-2022-46149 · Severity: low · CVSS 3.1 · Published 2022-11-30

out-of-bounds read possible when setting list-of-pointers

Technologies: [capnp (crates.io)](https://junglewise.ai/threats/technologies/capnp). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2022-46149 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-46149 being exploited in the wild.

**How severe is CVE-2022-46149?** Low severity, with a CVSS score of 3.1, published 30 November 2022.

**Which products and versions are affected?** capnp (crates.io) SEMVER:introduced=0.0.0-0,fixed=0.13.7,introduced=0.14.0-0,fixed=0.14.11,introduced=0.15.0-0,fixed=0.15.2, SEMVER:introduced=0.15.0,fixed=0.15.2.

**Is there a fix for CVE-2022-46149?** Yes. capnp (crates.io): upgrade to 0.15.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-46149?** Check whether you run capnp (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- capnp (crates.io): upgrade to 0.15.2 or later

  ```sh
  cargo update -p capnp
  ```


## Affected products

- capnp (crates.io) SEMVER:introduced=0.0.0-0,fixed=0.13.7,introduced=0.14.0-0,fixed=0.14.11,introduced=0.15.0-0,fixed=0.15.2, SEMVER:introduced=0.15.0,fixed=0.15.2

## Identifiers

- CVE-2022-46149
- GHSA-qqff-4vw4-f6hx
- RUSTSEC-2022-0068

## Related threats

- [Cap'n Proto has Undefined Behavior in constant::Reader and StructSchema](https://junglewise.ai/threats/cap-n-proto-has-undefined-behavior-in-constant-reader-and-structschema-455b901b)
- [RUSTSEC-2025-0143 - Unsound APIs of public `constant::Reader` and `StructSchema`](https://junglewise.ai/threats/rustsec-2025-0143-unsound-apis-of-public-constant-reader-and-2b64583d)
