CVE-2026-136126

Description

A flaw was found in c-icap. An unauthenticated remote attacker can exploit an out-of-bounds write vulnerability by sending a specially crafted Internet Content Adaptation Protocol (ICAP) request containing excessive encapsulated header entities. This corrupts heap memory during request processing, which may lead to arbitrary code execution or cause the service to crash, resulting in a denial of service (DoS).

Statement

Red Hat rates this vulnerability as Important because an unauthenticated remote attacker can trigger heap corruption via malformed ICAP requests, potentially leading to denial of service or arbitrary code execution within the daemon. In standard production deployments, ICAP daemons are positioned in isolated backend networks and interact exclusively with dedicated proxy servers like Squid, limiting direct exposure to untrusted clients. Consequently, the primary operational risk occurs in configurations where external or untrusted network entities can directly route traffic to the ICAP service port.

Mitigation

Restrict network exposure by limiting access to the c-icap daemon so that only trusted proxy servers (such as Squid) can connect to TCP port 1344, or disable the daemon entirely if ICAP content adaptation services are not utilized.

1. Restrict access using firewalld to permit connections only from an authorized proxy host:
# firewall-cmd --permanent --zone=public --remove-port=1344/tcp
# firewall-cmd --permanent --zone=trusted --add-source=<PROXY_IP>
# firewall-cmd --reload

2. Alternatively, disable the service if it is not required in your environment:
# systemctl stop c-icap
# systemctl disable c-icap

Warning: Modifying firewall rules or stopping the c-icap service will terminate active sessions and interrupt content scanning workflows for dependent proxies. Applying firewall changes requires a configuration reload, which may temporarily affect active network connections.

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.