CVE-2022-46149

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.

Severity
MEDIUM
CVSS v3
5.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L · source cna
Exploit chance (EPSS)
0.951%
chance of exploitation in the next 30 days
higher than 61.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2025-04-23

Timeline

  1. 2022-11-30Published by the CNA00:00 UTC
  2. 2022-12-05GitHub advisory published (GHSA-qqff-4vw4-f6hx)5 days after publication
  3. 2025-04-23CISA SSVC decision recorded875 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-qqff-4vw4-f6hx, affected packages:

PackageVulnerable versionsFixed in
crates.io capnpbefore 0.13.70.13.7
crates.io capnpfrom 0.14.0 before 0.14.110.14.11
crates.io capnpfrom 0.15.0 before 0.15.20.15.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
capnproto capnpbefore 0.13.7fixed in 0.13.7from 0.14.0 before 0.14.11fixed in 0.14.11from 0.15.0 before 0.15.2fixed in 0.15.20.13.70.14.110.15.2
capnproto capnprotofrom 0.10.0 before 0.10.3fixed in 0.10.3before 0.7.1fixed in 0.7.1from 0.9.0 before 0.9.2fixed in 0.9.20.8.0no fix listed0.10.30.7.10.9.2not listed
fedoraproject fedora36no fix listed37no fix listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources