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.
- Exploited
- Public exploit code, no confirmed attacks
- Fix
- Fixed in 0.5.16, 0.6.6
- Who is exposed
- Not reported
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
Original 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.
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
“c-icap-server through 0.5.15 and 0.6.5”
What to do
Upgrade to a fixed version: 0.5.16, 0.6.6.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
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"}.Affected versions
- c-icap c-icap-serverfixed in 0.5.16; From 0.6.0 · fixed in 0.6.6
cve.now Index
- Exploitation22/40Public exploit on Exploit-DB or GitHub · Unknown: No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity9.2/10CVSS 9.2
- No patch0/5No signal
What would change the score
- Would score about 71 if added to CISA KEV
- Would score about 66 if CISA's SSVC rates exploitation active
- Would score about 53 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- Posted on X by cve.now
- Exploit code on GitHub
cveForge/CVE-2026-136126
Evidence 9
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-136126 |
| Record | NVD · CVE-2026-136126 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | GitHub · cveForge/CVE-2026-136126 · Repository |
| Other links 6 | |
| Patch | GitHub · c-icap/c-icap-server · Commit 05dcead8 |
| Patch | GitHub · c-icap/c-icap-server · Commit 34de3194 |
| Patch | GitHub · c-icap/c-icap-server · Commit a2ed1d4d |
| Repository | GitHub · c-icap/c-icap-server · request_common.c · L503 |
| Repository | GitHub · c-icap/c-icap-server · Repository |
| Link | vulncheck.com · advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated |
Questions about CVE-2026-136126
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: cve.now feed data
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: vulncheck.com
Which versions are affected by CVE-2026-136126?
c-icap-server: before 0.5.16; from 0.6.0 before 0.6.6.
Source: cve.now feed data
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: vulncheck.com
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: vulncheck.com
Related
- CVE-2026-112732Microsoft Office Visio Remote Code Execution Vulnerability
- CVE-2026-56971In AudioSession::SendInternalEvent of AudioSession.cpp, there is a possible Double Free due to a logic error in the code.
- CVE-2026-62318Netatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginCont
- CVE-2026-107409Memory corruption in DNS-over-HTTPS (DoH) can lead to unpredictable or erroneous behavior or a Denial of Service in Citrix NetScaler
- CVE-2026-118719Microsoft Office Excel Remote Code Execution Vulnerability
- CVE-2026-120221frr: bgpd double free of peer-group Site-of-Origin when dynamic neighbors disconnect
No corrections so far. Something wrong on this page? Report an error.