CVE-2022-46149Cap'n Proto vulnerable to out-of-bounds read due to logic error handling list-of-list.
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | capnproto | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | capnproto | Fix pending | UBUNTU-CVE-2022-46149 | |
| Ubuntu 20.04 | capnproto | Fix pending | UBUNTU-CVE-2022-46149 | |
| Ubuntu 18.04 | capnproto | Fix pending | UBUNTU-CVE-2022-46149 | |
| Ubuntu 16.04 | capnproto | Will 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.04 | interchange | Will 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.04 | capnproto | Will 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.04 | interchange | Will 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 14 | capnproto | Fixed | 0.9.2-2 | DEBIAN-CVE-2022-46149 |
| Debian 14 | rust-capnp | Fixed | 0.14.11-1.1 | DEBIAN-CVE-2022-46149 |
| Debian 13 | capnproto | Fixed | 0.9.2-2 | DEBIAN-CVE-2022-46149 |
| Debian 13 | rust-capnp | Fixed | 0.14.11-1.1 | DEBIAN-CVE-2022-46149 |
| Debian 12 | capnproto | Fixed | 0.9.2-2 | DEBIAN-CVE-2022-46149 |
| Debian 12 | rust-capnp | Fixed | 0.14.11-1.1 | DEBIAN-CVE-2022-46149 |
| crates.io library | capnp | Fixed | 0.14.11 | RUSTSEC-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.
- capnproto: affected: < 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
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/capnproto/capnproto/security/advisories/GHSA-qqff-4vw4-f6hx
- https://github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WKXM4JAFXLTXU5IQB3OUBQVCIICZWGYX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZOCQQOPMVQOFUWBWAGVGN76OYAV3WXY4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTS6TWD6K2NKXLEEFBPROQXMOFUTEYWY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EAHKLUMJAXJEV5BPBS5XXWBQ3ZTHGOLY/
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.