Skip to main content

c-icap-server CVE-2026-136126

| EUVDEUVD-2026-133907 CRITICAL
Double Free (CWE-415)
2026-11-24 VulnCheck GHSA-7xqf-pp5p-rf5w
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted ICAP request with six Encapsulated entities
  2. Exploit
    Overwrite trash_entities[0] past 5-slot entities[] array
  3. Execution
    Trigger use-after-free and double free in ci_request_destroy() teardown
  4. Impact
    Corrupt 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

c-icap-server 0 <0.5.16
c-icap-server 0.6.0 <0.6.6

Affected Packages

euvd c_icap_server fix: 0.5.16, 0.6.6

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

Vendor (VulnCheck) PRIMARY 9.2 CRITICAL
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
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 8.1 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.8%
Top 46% exploitable
Prevalence
Low
niche open-source ICAP content-adaptation server, usually internal alongside Squid proxies
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy