CVE-2022-46149
Cap'n Proto vulnerable to out-of-bounds read due to logic error handling list-of-list.
Also known as GHSA-qqff-4vw4-f6hx, RUSTSEC-2022-0068
Mitigation
- Upgrade capnp to one of 0.15.2, 0.14.11, 0.13.7 (or later in the same release line).
Who should check
- Projects that depend on crates.io package capnp (>= 0.15.0, < 0.15.2)
- Anyone running capnproto < 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
Vulnerability facts
- Affected
- capnp >= 0.15.0, < 0.15.2
- Fixed in
- 0.15.2, 0.14.11, 0.13.7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: Low
- EPSS
- 1.09% chance of exploitation in 30 days (percentile 65, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-46149. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-46149.md Affected: capnp >= 0.15.0, < 0.15.2 Fixed in: 0.15.2, 0.14.11, 0.13.7 Steps: 1. Search this machine and project for capnp (crates.io), capnproto: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://github.com/capnproto/capnproto/security/advisories/GHSA-qqff-4vw4-f6hx
- 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/
- https://nvd.nist.gov/vuln/detail/CVE-2022-46149
- https://rustsec.org/advisories/RUSTSEC-2022-0068.html
Other
- https://dwrensha.github.io/capnproto-rust/2022/11/30/out_of_bounds_memory_access_bug.html
- https://github.com/capnproto/capnproto
- https://github.com/capnproto/capnproto/tree/master/security-advisories/2022-11-30-0-pointer-list-bounds.md
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EAHKLUMJAXJEV5BPBS5XXWBQ3ZTHGOLY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTS6TWD6K2NKXLEEFBPROQXMOFUTEYWY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WKXM4JAFXLTXU5IQB3OUBQVCIICZWGYX
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZOCQQOPMVQOFUWBWAGVGN76OYAV3WXY4
- https://crates.io/crates/capnp
FAQ
Is CVE-2022-46149 being exploited?
There is no confirmed exploitation: CVE-2022-46149 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.09% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-46149?
Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-46149?
capnp >= 0.15.0, < 0.15.2.
Is there a fix for CVE-2022-46149?
Yes. Fixed in 0.15.2, 0.14.11, 0.13.7. Upgrade capnp to one of 0.15.2, 0.14.11, 0.13.7 (or later in the same release line).
How do I check if I'm affected by CVE-2022-46149?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.