crates.io (Rust)Worst: Critical2 advisories

capnp: known vulnerabilities

capnp has 2 reviewed security advisories in the GitHub Advisory Database — 1 critical, 1 moderate. The most recent was published 2026-01-28. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the capnp versions running across your servers, containers and images, and ranks what to patch first.

How to fix capnp

Upgrade capnp to a release at or above the fixed version shown for each advisory below. For crates.io (Rust):

cargo update -p capnp --precise 0.24.0 (cargo audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

Cap'n Proto has Undefined Behavior in constant::Reader and StructSchema Critical CWE-758 — Affected: before 0.24.0. Fixed in 0.24.0. Published 2026-01-28. GHSA-5w5r-mf82-595p
Cap'n Proto and its Rust implementation vulnerable to out-of-bounds read due to logic error handling list-of-list Moderate 5.4 CWE-125 — Affected: before 0.13.7. Fixed in 0.13.7. Published 2022-11-30. GHSA-qqff-4vw4-f6hx · CVE-2022-46149

Find capnp across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.