CVE-2026-32239: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-32239 is an integer overflow/type conversion vulnerability in the KJ-HTTP library (part of Cap'n Proto) that could theoretically enable HTTP request/response smuggling. The root cause is that a negative Content-Length header value is passed to strtoull(), which silently converts it to an impossibly large unsigned integer rather than rejecting it. All Cap'n Proto versions prior to 1.4.0 are affected; Cap'n Proto itself (without KJ-HTTP) is not impacted. The vulnerability was disclosed on March 12, 2026, and carries a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory, Red Hat).

Technical details

The vulnerability is classified as CWE-190 (Integer Overflow or Wraparound), CWE-681 (Incorrect Conversion Between Numeric Types), and CWE-444 (HTTP Request Smuggling). In c++/src/kj/compat/http.c++, the getEntityBody() function called strtoull() on the Content-Length header value without first validating that the string begins with a digit — strtoull() silently accepts a leading - sign and wraps the negative value to a very large uint64_t, causing the library to treat the body as having an impossibly large length. The fix adds an explicit check that the first character of the header value is a decimal digit ('0'–'9') before accepting the parsed result (GitHub Commit, GitHub Advisory). Exploitation requires a buggy upstream proxy that forwards the malformed negative Content-Length value unmodified to a KJ-HTTP-based server or client.

Impact

Successful exploitation could theoretically allow an attacker to perform HTTP request/response smuggling, potentially causing a KJ-HTTP-based server or client to misinterpret message boundaries. This could lead to low-level confidentiality and integrity impacts — for example, poisoning shared caches, bypassing security controls, or injecting malicious content into responses seen by other users. Availability is not directly impacted, and the scope is limited to systems using KJ-HTTP (notably workerd, the open-source Cloudflare Workers Runtime); Cloudflare's production Workers environment was confirmed unaffected (GitHub Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.045% (very low probability of exploitation in the near term). Exploitation is further constrained by the requirement that a buggy intermediary proxy — one that forwards negative Content-Length values unmodified — must be present in the communication path; a KJ-HTTP-based proxy itself would not exhibit this behavior. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (GitHub Advisory, Feedly).

Mitigation and workarounds

The primary remediation is to upgrade Cap'n Proto (and its bundled KJ-HTTP library) to version 1.4.0 or later. Patches are available for both the master (1.x) branch (commit 2744b3c) and the v2 branch (commit e929f0b). Release tarballs are available at https://capnproto.org/capnproto-c++-1.4.0.tar.gz (Unix) and https://capnproto.org/capnproto-c++-win32-1.4.0.zip (Windows). As a temporary network-level workaround, organizations can configure upstream proxies or WAFs to reject or normalize HTTP requests containing non-numeric or negative Content-Length header values before they reach KJ-HTTP-based services (GitHub Advisory, Red Hat Bugzilla).

Community reactions

The advisory was published by Cap'n Proto maintainer Kentonv (Kenton Varda) on March 12, 2026, crediting researchers Chanho Kim (@HO-9) and Jihyeok Han (@HanJeouk) as finders. The Cloudflare Workers Runtime team, which maintains Cap'n Proto, confirmed that Cloudflare's production environment is not impacted but recommended all workerd users update immediately. Red Hat tracked the issue via Bugzilla (Bug 2447106) and rated it medium severity. Community discussion has been limited, consistent with the low exploitability and theoretical-only impact (GitHub Advisory, Red Hat Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

capnproto

Affected

sid

capnproto: 1.4.0-2

Fixed

trixie

capnproto

Affected

Ubuntu

Fixed

bionic (esm-infra)

capnproto: 0.6.1-1ubuntu1+esm1

Fixed

devel

capnproto: 1.4.0-3build1

Fixed

focal (esm-infra)

capnproto: 0.7.0-6ubuntu0.1~esm1

Fixed

jammy

capnproto

Affected

jammy (esm-apps)

capnproto: 0.8.0-2ubuntu2+esm1

Fixed

noble

capnproto

Affected

noble (esm-apps)

capnproto: 1.0.1-4ubuntu0.1~esm1

Fixed

resolute

capnproto

Affected

RHEL / CentOS

Affected

RHEL 10

capnproto.src

Affected

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-116199CRITICAL9.2
  • NixOS logoNixOS
  • cpe:2.3:a:snipeitapp:snipe-it
NoYesOct 25, 2026
CVE-2026-116201HIGH8.7
  • NixOS logoNixOS
  • cpe:2.3:a:snipeitapp:snipe-it
NoYesOct 25, 2026
CVE-2026-116200HIGH8.2
  • NixOS logoNixOS
  • cpe:2.3:a:snipeitapp:snipe-it
NoYesOct 25, 2026
CVE-2026-2270MEDIUM5.9
  • NixOS logoNixOS
  • kubernetes
NoYesOct 26, 2026
CVE-2026-76654MEDIUM5.8
  • NixOS logoNixOS
  • cpe:2.3:a:kubernetes:kubernetes
NoYesOct 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management