{"id":"CVE-2022-46149","published":"2022-11-30T00:00:00Z","modified":"2025-04-23T16:33:43Z","title":"Cap'n Proto vulnerable to out-of-bounds read due to logic error handling list-of-list.","vendor":"capnproto","product":"capnproto","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00951,"percentile":0.62157,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/capnproto/capnproto/security/advisories/GHSA-qqff-4vw4-f6hx","tags":[]},{"url":"https://github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WKXM4JAFXLTXU5IQB3OUBQVCIICZWGYX/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZOCQQOPMVQOFUWBWAGVGN76OYAV3WXY4/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTS6TWD6K2NKXLEEFBPROQXMOFUTEYWY/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EAHKLUMJAXJEV5BPBS5XXWBQ3ZTHGOLY/","tags":["vendor-advisory"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":12.43},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"capnproto","affectedVersions":[{"vendor":"capnproto","product":"capnproto","versions":["< 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",">= 0.15.0, < 0.15.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:53:29.015179Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"capnp","vulnerableRanges":[">=0.15.0, <0.15.2",">=0.14.0, <0.14.11","<0.13.7",">=0.0.0-0, <0.13.7",">=0.14.0-0, <0.14.11",">=0.15.0-0, <0.15.2"],"patched":["0.15.2","0.14.11","0.13.7"],"from":["GHSA-qqff-4vw4-f6hx","RUSTSEC-2022-0068"],"provenance":"source"}],"summary":{"text":"Cap'n Proto, a data interchange format and RPC system, contains an out-of-bounds read in its handling of list-of-list values, present in the C++ implementation and in the Rust implementation (the capnp crate). A remote attacker who sends a malicious message can crash a peer, and memory may be exfiltrated, but only if the victim application performs a specific sequence of actions on a list-of-pointer type, with the exact conditions described in the GitHub Security Advisory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:35Z"},"euvd":{"id":"EUVD-2022-7720","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-capnproto-cve-2015-2310","parents":[{"from":"CVE-2015-2310","to":"CVE-2022-46149","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["c++/src/capnp/layout.c++"],"commits":["https://github.com/capnproto/capnproto/commit/f343f0dbd0a2e87f17cd74f14186ed73e3fbdbfa","https://github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9"],"basis":"shared function","functions":["WireHelpers"]}]},{"from":"CVE-2015-2311","to":"CVE-2022-46149","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["c++/src/capnp/layout.c++"],"commits":["https://github.com/capnproto/capnproto/commit/26bcceda72372211063d62aab7e45665faa83633","https://github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9"],"basis":"shared function","functions":["WireHelpers"]}]},{"from":"CVE-2015-2312","to":"CVE-2022-46149","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["c++/src/capnp/layout.c++"],"commits":["https://github.com/capnproto/capnproto/commit/104870608fde3c698483fdef6b97f093fc15685d","https://github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9"],"basis":"shared function","functions":["WireHelpers"]}]},{"from":"CVE-2015-2313","to":"CVE-2022-46149","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["c++/src/capnp/layout.c++"],"commits":["https://github.com/capnproto/capnproto/commit/80149744bdafa3ad4eedc83f8ab675e27baee868","https://github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9"],"basis":"shared function","functions":["WireHelpers"]}]}]}}