CVEfocus › CVE database › CVE-2022-46149

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

CVSS 5.4 MediumEPSS 1.1% (higher than 65% of CVEs)Published 2022-11-30Updated 2025-04-23Assigner: GitHub_M

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.

CWE-125

What to do

Fixed builds are available from Debian, crates.io: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
3Fix pending
4Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10capnprotoNot affected
vulnerable_code_not_present
Ubuntu 22.04capnprotoFix pendingUBUNTU-CVE-2022-46149
Ubuntu 20.04capnprotoFix pendingUBUNTU-CVE-2022-46149
Ubuntu 18.04capnprotoFix pendingUBUNTU-CVE-2022-46149
Ubuntu 16.04capnprotoWill not fix
Per upstream: "Unfortunately, the bug is present in inlined code, therefore the fix will require rebuilding dependent applications." "To be vulnerable, an…
UBUNTU-CVE-2022-46149
Ubuntu 16.04interchangeWill not fix
Per upstream: "Unfortunately, the bug is present in inlined code, therefore the fix will require rebuilding dependent applications." "To be vulnerable, an…
UBUNTU-CVE-2022-46149
Ubuntu 14.04capnprotoWill not fix
Per upstream: "Unfortunately, the bug is present in inlined code, therefore the fix will require rebuilding dependent applications." "To be vulnerable, an…
UBUNTU-CVE-2022-46149
Ubuntu 14.04interchangeWill not fix
Per upstream: "Unfortunately, the bug is present in inlined code, therefore the fix will require rebuilding dependent applications." "To be vulnerable, an…
Debian 14capnprotoFixed0.9.2-2DEBIAN-CVE-2022-46149
Debian 14rust-capnpFixed0.14.11-1.1DEBIAN-CVE-2022-46149
Debian 13capnprotoFixed0.9.2-2DEBIAN-CVE-2022-46149
Debian 13rust-capnpFixed0.14.11-1.1DEBIAN-CVE-2022-46149
Debian 12capnprotoFixed0.9.2-2DEBIAN-CVE-2022-46149
Debian 12rust-capnpFixed0.14.11-1.1DEBIAN-CVE-2022-46149
crates.io librarycapnpFixed0.14.11RUSTSEC-2022-0068

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.