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

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-03-12T19:35:57.374Z
- Modified: 2026-06-17T10:35:24.510Z
- Weaknesses: CWE-197, CWE-444
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- capnproto capnproto: < 1.4.0; before 1.4.0

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/capnproto/capnproto/security/advisories/GHSA-vpcq-mx5v-32wm> (vendor-advisory)
- <https://github.com/capnproto/capnproto/commit/2744b3c012b4aa3c31cefb61ec656829fa5c0e36> (patch)
- <https://github.com/capnproto/capnproto/commit/e929f0ba7901a6b8f4b5ba9a4db00af43288cbb0> (patch)
- <https://capnproto.org/capnproto-c++-1.4.0.tar.gz> (product)
- <https://capnproto.org/capnproto-c++-win32-1.4.0.zip> (product)

## Sources

- CVE List: [CVE-2026-32240](https://www.cve.org/CVERecord?id=CVE-2026-32240), CVE Terms of Use, modified 2026-03-13
- NVD: [CVE-2026-32240](https://nvd.nist.gov/vuln/detail/CVE-2026-32240), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32240 · Whole record: https://cve.day/CVE-2026-32240.json · Rebuilt by cve.day 2026-11-25T22:59:15.852Z
