CVE-2026-32240: Cap'n Proto: Integer overflow in KJ-HTTP chunk size

Published Mar 12, 2026
·
Updated

Cap'n Proto is a data interchange format and capability-based RPC system. Prior to 1.4.0, when using Transfer-Encoding: chunked, if a chunk's size parsed to a value of 2^64 or larger, it would be truncated to a 64-bit integer. In theory, this bug could enable HTTP request/response smuggling. This vulnerability is fixed in 1.4.0.

Affected Software

3 affected componentsFixes available
Cap'n Proto Cap'n Proto<1.4.0
capnproto capnproto<1.4.0
debian/capnproto<=0.7.0-7, <=0.9.2-2, <=1.1.0-2
1.4.0-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/capnproto to a version that resolves this vulnerability.

    Fixed in 1.4.0-3
  2. Upgrade

    Upgrade Cap'n Proto to a version that resolves this vulnerability.

    Fixed in 1.4.0

Event History

Mar 12, 2026
CVE Published
via MITRE·07:35 PM
Data Sourced
via MITRE·07:35 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Event
via NVD·08:16 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-32240?

The severity of CVE-2026-32240 is considered to be critical due to the potential for integer overflow vulnerabilities.

2

How do I fix CVE-2026-32240?

To fix CVE-2026-32240, upgrade Cap'n Proto to version 1.4.0 or later to mitigate the vulnerability.

3

What causes the CVE-2026-32240 vulnerability?

CVE-2026-32240 is caused by an integer overflow in KJ-HTTP when handling chunk sizes parsed as 2^64 or larger.

4

Which versions of Cap'n Proto are affected by CVE-2026-32240?

Cap'n Proto versions prior to 1.4.0 are affected by CVE-2026-32240.

5

Can CVE-2026-32240 lead to security breaches?

Yes, CVE-2026-32240 can potentially lead to security breaches if exploited, allowing attackers to manipulate data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203