Email me

Rust advisories / capnp

Vulnerability MediumRUSTSEC-2022-0068 · capnp

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

Short answerA security vulnerability in the capnp crate: out-of-bounds read possible when setting list-of-pointers. GitHub rates it Medium. Fixed in 0.13.7, 0.14.11, 0.15.2: update to a fixed version.

Cratecapnp
TypeVulnerability (memory-exposure)
Affected versionsBefore 0.13.7; from 0.14.0 before 0.14.11; from 0.15.0 before 0.15.2.
Fixed in0.13.7, 0.14.11, 0.15.2
SeverityMedium (GitHub rating)
Published2022-11-30
Last changed2023-11-08
Also known asCVE-2022-46149, GHSA-qqff-4vw4-f6hx

What to do

  1. See which version you have: cargo tree -i capnp (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p capnp. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example capnp = "0.15.2") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

If a message consumer expects data of type "list of pointers", and if the consumer performs certain specific actions on such data, then a message producer can cause the consumer to read out-of-bounds memory. This could trigger a process crash in the consumer, or in some cases could allow exfiltration of private in-memory data.

The C++ Cap'n Proto library is also affected by this bug. See the advisory on the main Cap'n Proto repo for a succinct description of the exact circumstances in which the problem can arise.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for capnp

Full security history of capnp

Up next

Same cratecapnp: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ