Untrusted Pointer Dereference Affecting capnp package, versions <0.24.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-CAPNP-15124531
  • published28 Jan 2026
  • disclosed24 Dec 2025
  • creditRafael shinmao

Introduced: 24 Dec 2025

CVE NOT AVAILABLE CWE-822  (opens in a new tab)

How to fix?

Upgrade capnp to version 0.24.0 or higher.

Overview

capnp is a runtime library for Cap'n Proto data encoding

Affected versions of this package are vulnerable to Untrusted Pointer Dereference via the get and new functions. An attacker can cause undefined behavior and violate memory safety guarantees by invoking these functions, which access internal data without proper validation.

CVSS Base Scores

version 4.0
version 3.1