Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted ICAP request with six Encapsulated entities
-
ExploitOverwrite trash_entities[0] past 5-slot entities[] array
-
ExecutionTrigger use-after-free and double free in ci_request_destroy() teardown
-
ImpactCorrupt heap for denial of service or potential code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
|
| Exploitation Conditions | No special configuration required: a remote unauthenticated attacker (PR:N) who can reach the running c-icap-server ICAP listener (default TCP 1344) sends one ICAP request whose Encapsulated header declares six entities, overflowing the fixed 5-element entities[] array. Affected: c-icap-server through 0.5.15 and through 0.6.5. Limiting factors: the ICAP service must be network-reachable to the attacker - in typical deployments c-icap runs internally behind/beside a Squid proxy rather than internet-exposed, so exposure is usually confined to the internal/proxy network; and weaponizing the use-after-free/double free into code execution requires heap-layout control not described in the available sources, whereas a service crash (denial of service) is the directly achievable effect. No authentication, user interaction, or non-default option is needed to reach the vulnerable code path. |
| Impact | Multiple signals point to genuine priority rather than inflated CVSS. The CVSS 4.0 vector (AV:N, PR:N, UI:N) confirms a network-reachable, unauthenticated, no-interaction vulnerability, and the source diff confirms a real memory-safety defect (CWE-415): process_encapsulated() permits a sixth Encapsulated entity to overwrite trash_entities[0] in the fixed 5-slot entities[] array, producing use-after-free and double free during ci_request_destroy() teardown. VulnCheck reported it, a vendor patch exists (three commits), and the vuln.today decision label is act_now - all reinforcing urgency. Countervailing/uncertain signals: the input provides NO EPSS score and NO CISA KEV listing, so there is no quantitative exploitation-probability or confirmed-active-exploitation signal; status is 'no public exploit identified at time of analysis' (the VulnCheck reference is an advisory, not verified working exploit code). The vendor rates AC:H, but the description gives a deterministic trigger (simply sending six entities), so reliable triggering of the memory corruption is low-complexity; achieving full code execution from the double free is the genuinely hard, undemonstrated step. The vendor's VC:H/VI:H/VA:H assumes code execution is attainable from the heap corruption - confirmed-reliable impact from a double free is denial of service (crash); confidentiality/integrity impact is plausible but not demonstrated in the available sources. Net: treat as act_now for exposed ICAP services, with the caveat that c-icap is typically an internal proxy component, limiting mass internet exposure. |
| Exploit ScenarioDerived | An attacker able to reach the c-icap ICAP service (default port 1344, typically paired with a Squid proxy) sends a single crafted ICAP request containing six Encapsulated entities. The sixth entity overwrites trash_entities[0] beyond the 5-slot entities[] array, and during request teardown ci_request_destroy() frees already-freed memory, corrupting the heap. No public exploit is identified at time of analysis; reliable code execution would require heap-layout control, while a crash (DoS) is the readily achievable outcome. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Heap memory corruption in c-icap-server 0.5.15 and earlier and 0.6.5 and earlier allows a remote unauthenticated attacker who can reach the ICAP listener to crash the service and, with heap-layout control not described in the available sources, potentially execute code. A single ICAP request declaring six Encapsulated entities overruns the fixed five-slot entities[] array in process_encapsulated(), overwriting trash_entities[0] so that ci_request_destroy() later performs a use-after-free and double free during request teardown. Upstream fixes are published in the vendor repository and priority scoring labels this act_now; no public exploit code and no confirmed active exploitation were identified at time of analysis, and the directly achievable effect is a service crash.
RemediationAI
Vendor fixes are available as upstream commits: 05dcead8dc838cce2f403fca447791a1676faea3 (bounds the ci_request_reset() and ci_request_destroy() entity walks to five entries and NULLs each freed entity), 34de3194b136 and a2ed1d4d1ad7 (which tighten the process_encapsulated() guard to reject num >= 4 so index 4 remains the NULL terminator teardown depends on); a released tagged version incorporating these commits was not independently confirmed from the provided data, so rebuild from patched source or vendor-supplied packages on both the 0.5.x and 0.6.x branches rather than assuming a version number. Until patched builds are deployed, reduce exposure by restricting who can reach the ICAP listener on default TCP 1344 to the trusted proxy peers that legitimately need it, since the independent assessment notes c-icap normally sits internally behind or beside Squid and the attack requires network reachability; this limits blast radius but does not fix the parser, and it will break any legitimate adaptation clients outside the allowlist. Do not treat the crash-only behavior as a safety margin: the same request also corrupts heap state and can wedge the worker, so monitor for repeated connection resets on the ICAP port. Vendor and research references: https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated and https://github.com/c-icap/c-icap-server.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
c-icap is an ICAP (Internet Content Adaptation Protocol) server used to offload content filtering and antivirus/URL-checking work from caching proxies such as Squid. ICAP requests carry an Encapsulated header that enumerates the message bodies in the request (e.g. req-hdr, req-body); request_common.c parses that header in process_encapsulated() and stores body references in a fixed-size entities[] array of five slots, with the last slot expected to remain NULL because the reset and teardown walks in ci_request_reset() and ci_request_destroy() iterate until they hit a NULL entry. The pre-fix bounds check allowed a sixth entity to be recorded, writing past entities[] into adjacent request structure fields such as trash_entities[0]; teardown then frees the same buffer twice and dereferences freed memory, which is the double-free condition tracked as CWE-415 with an out-of-bounds write as the underlying mechanism. The upstream commits bound both loops to five entries, NULL out each freed entity, and change the parser guard to reject num >= 4 so index 4 stays reserved as the terminator the teardown walk relies on. Because the flaw sits in the shared request-parsing path, every ICAP service built on c-icap-server (including echo, virus-scan and content-filter services) is exposed whenever the request parser is reachable.
Know when C Icap Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable, unauthenticated, no interaction with a deterministic trigger (AC:L); A:H reflects reliable crash while C:H/I:H reflect plausible code execution from the heap corruption, not yet demonstrated.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
A critical heap corruption vulnerability in c-icap-server affects content-filtering and ICAP gateway deployments at all sites running version 0.5.15 or 0.6.5 and earlier. A remote attacker without credentials who can reach the ICAP listener could crash the service, disrupting content inspection and any security or web traffic that depends on it, with a potential, unproven path to code execution under conditions not yet documented. Leadership should care because this is an internet- and network-reachable availability risk to a security control layer; no public exploit or active exploitation has been identified at time of analysis, reducing urgency from imminent compromise to disciplined, timely remediation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-133907
GHSA-7xqf-pp5p-rf5w
NVD
CVE.org
EPSS
VulDB
Exploit-DB