Numeric Truncation Error Affecting capnproto/capnproto package, versions [,1.4.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (11th percentile)

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-UNMANAGED-CAPNPROTOCAPNPROTO-15607239
  • published15 Mar 2026
  • disclosed12 Mar 2026
  • creditHO9, HanJeouk

Introduced: 12 Mar 2026

CVE-2026-32240  (opens in a new tab)
CWE-197  (opens in a new tab)

How to fix?

Upgrade capnproto/capnproto to version 1.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Numeric Truncation Error in the chunk size parsing process when handling HTTP requests with Transfer-Encoding set to chunked. An attacker can cause HTTP request or response smuggling by sending a chunk size value that parses to 2^64 or larger, which is then truncated to a 64-bit integer.

CVSS Base Scores

version 4.0
version 3.1