Skip to main content
Vulnerability Database/CVE-2026-114731

CVE-2026-114731: Roundcube Webmail DOS Vulnerability

CVE-2026-114731 is a denial of service vulnerability in Roundcube Webmail that allows attackers to exhaust server memory through CSS proxy exploitation. This article covers technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-114731 Overview

CVE-2026-114731 is an uncontrolled resource consumption vulnerability [CWE-770] in Roundcube Webmail. The flaw resides in the CSS proxy handler exposed through the utils/modcss action. The handler fetched remote stylesheets into memory in full, without enforcing a size limit or a read timeout. An unauthenticated attacker can supply a stylesheet URL pointing to an attacker-controlled host that streams unbounded data, exhausting server memory. The issue affects Roundcube Webmail versions before 1.6.20 and 1.7.x before 1.7.5.

Critical Impact

Remote, unauthenticated attackers can exhaust webmail server memory by directing the CSS proxy to fetch large or infinite stylesheet responses, degrading availability for all users.

Affected Products

  • Roundcube Webmail versions before 1.6.20
  • Roundcube Webmail 1.7.x versions before 1.7.5
  • Deployments exposing the utils/modcss action to network clients

Discovery Timeline

  • 2026-10-19 - Roundcube publishes security updates 1.6.20 and 1.7.5
  • 2026-10-22 - CVE-2026-114731 published to NVD
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2026-114731

Vulnerability Analysis

Roundcube's CSS proxy exists to let the webmail client safely load remote stylesheets referenced by HTML email. The handler in program/actions/utils/modcss.php fetched the remote URL and buffered the entire response into memory before processing. Because no maximum size and no read timeout were enforced, a single request to utils/modcss could tie up a PHP worker and allocate memory until the process limit, container limit, or host memory ceiling was reached.

Repeated requests multiply the effect across PHP-FPM workers, producing an availability impact on the Roundcube instance and potentially on co-located services. The vulnerability is reachable over the network with low attack complexity and no privileges or user interaction.

Root Cause

The root cause is missing resource governance around an outbound HTTP fetch. The CSS proxy relied on default fetch semantics that read the full body into memory, with no MAX_SIZE constant, streaming reader, or socket timeout. An attacker-controlled origin can respond with a very large body, a slow trickle, or an infinite stream to exhaust server memory and worker time.

Attack Vector

An attacker hosts a malicious endpoint that returns an unbounded or extremely large response for CSS requests. The attacker then submits requests to the Roundcube utils/modcss action with a stylesheet URL parameter pointing at that endpoint, either directly or by inducing a victim to render crafted HTML mail that references the proxy. Each request forces the server to buffer the response until memory is exhausted.

php
// Upstream fix in program/actions/utils/modcss.php
class rcmail_action_utils_modcss extends rcmail_action
{
+    private const MAX_SIZE = 5 * 1024 * 1024;
+
     /**
      * Request handler.
      *

Source: Roundcube Email Commit #2c9f6da. The patch introduces a 5 MB cap, reads the response as a stream, and applies a read timeout to prevent unbounded buffering.

Detection Methods for CVE-2026-114731

Indicators of Compromise

  • Repeated HTTP requests to the Roundcube endpoint ?_task=utils&_action=modcss with external url parameters.
  • Outbound HTTP connections from the webmail server to unexpected or newly registered domains referenced by stylesheet URLs.
  • PHP-FPM or Apache workers terminating with out-of-memory errors around the time of inbound modcss traffic.

Detection Strategies

  • Alert on web access log entries where _action=modcss is called with a url parameter resolving to an external, non-allowlisted host.
  • Correlate spikes in Roundcube modcss request volume with host-level memory pressure or worker restarts.
  • Monitor the Roundcube host for process kills triggered by the Linux OOM killer referencing PHP workers.

Monitoring Recommendations

  • Ingest Roundcube web server access logs and PHP error logs into a centralized log platform for correlation.
  • Track egress traffic from the webmail tier and flag long-lived connections associated with modcss requests.
  • Baseline normal modcss request rates per source IP and alert on deviations.

How to Mitigate CVE-2026-114731

Immediate Actions Required

  • Upgrade Roundcube Webmail to version 1.6.20 or 1.7.5, which contain the upstream fix.
  • Restrict egress from the webmail server so the CSS proxy can only reach approved destinations.
  • Enforce PHP memory_limit and web server request timeouts tight enough to contain abusive modcss requests until patched.

Patch Information

Roundcube released fixes in versions 1.6.20 and 1.7.5 on 2026-10-19. The relevant commits are 2c9f6da and 99a5bdd, which add a MAX_SIZE constant of 5 MB, switch the CSS proxy to stream the remote response, and apply a read timeout. See the Roundcube Security Updates Announcement, the Roundcube Release 1.6.20, and the Roundcube Release 1.7.5 notes.

Workarounds

  • Block external access to the utils/modcss action at the reverse proxy or web application firewall until the patch is deployed.
  • Place the webmail server behind an egress proxy that enforces response size limits and read timeouts on outbound HTTP fetches.
  • Reduce PHP memory_limit and web server max_execution_time for the Roundcube pool to constrain worker-level resource usage.
bash
# Example nginx rule to drop external modcss fetches at the edge
location ~* /\?.*_action=modcss {
    if ($arg_url !~* "^https?://(mail\.example\.com|cdn\.example\.com)/") {
        return 403;
    }
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.