Apache Tomcat’s CGI servlet mishandles some POST bodies sent with chunked transfer encoding: it drops the body and the worker thread serving the request can hang, so a client that repeats the request ties up one thread after another until the connector has none left. If you run Tomcat 9.0.0 to 9.0.123, 10.1.0 to 10.1.61 or 11.0.0 to 11.0.27 with the CGI servlet enabled, upgrade to 9.0.124, 10.1.62 or 11.0.29 (released 19 November 2026) and restart; if CGI is enabled and you do not need it, remove the mapping, which closes this on any version. The CGI servlet is off by default, so most Tomcats are not exposed. Apache labels it Moderate; CISA’s analyst scores it 7.5 and Red Hat 5.9.
CVE-2026-118436 at a glance.
| Component | Apache Tomcat, CGIServlet (org.apache.catalina.servlets.CGIServlet) POST body handling |
| Affected versions | 11.0.0-M1 to 11.0.27; 10.1.0-M1 to 10.1.61; 9.0.0.M1 to 9.0.123; the end-of-life 8.5.0 to 8.5.100 and 7.0.0 to 7.0.109 |
| Fixed in | 11.0.29, 10.1.62 and 9.0.124, all offered for download on 1 December 2026 (11.0.28 was never released). Commits 653bfad0 (11.0.x), 2bdd441d (10.1.x), 3589c02e (9.0.x) |
| Severity | Apache: Moderate. CISA’s ADP scores it CVSS 3.1 7.5 High (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H); Red Hat rates it Moderate, 5.9 (AC:H); SUSE moderate, 5.9 / CVSS 4.0 8.2; Ubuntu Medium. CWE-770 |
| Exploited in the wild | Not on CISA’s KEV catalogue. EPSS 0.0046 (32nd percentile) on 30 November 2026 |
| Who is exposed | Tomcats that have enabled the CGI servlet (commented out in the default conf/web.xml) and expose it to untrusted clients; each hung request costs one worker thread, so the attack scales with maxThreads |
| Published | CVE record 19 November 2026, reported to Apache 15 October 2026; this page built 1 December 2026, last updated 1 December 2026 |
What it is
Tomcat’s CGI servlet runs external programs in the old CGI style, passing the request body to the program’s standard input. The Apache entry, “CGIServlet drops chunked POST body and can hang worker thread”, says that for some POST bodies the servlet allocates resources without limit and the request can result in a denial of service. The record classifies it as CWE-770. The 11.0.x fix commit 653bfad0 could not be read for this page because GitHub rate-limited the request, so the mechanism here is the entry’s title and no more: a chunked POST body that the servlet fails to consume, after which the thread handling the request does not return. A thread that never returns is a slot the connector cannot reuse, and a client that opens such requests until maxThreads is reached leaves no thread for anyone else.
The precondition is the CGI servlet, which ships commented out in conf/web.xml and has been for every version in the affected range; Red Hat’s statement notes it is disabled by default in its deployments too. Apache’s Moderate and Red Hat’s 5.9, with high attack complexity, weigh that precondition; CISA’s 7.5 scores the exposed case, where any client that can reach a CGI-mapped URL can drive it with no credentials. If CGI is enabled, treat the CVSS as 7.5 and act on it; if it is not, the flaw is unreachable.
This is one of fourteen Tomcat CVEs published on 19 November 2026 and fixed in the same three releases; the other three denials of service from that day, CVE-2026-118233 (HTTP upgrade leak), CVE-2026-116600 (WebSocket with OpenWebBeans) and CVE-2026-116830 (HTTP/2 frame checks), have their own pages, as do the cluster TLS-PSK flaw (CVE-2026-133325) and the RewriteValve flaw (CVE-2026-118028). One upgrade covers all of them.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. Most production Tomcats on Linux are the upstream tarball or a container image rather than a distribution package, and for those the fixed version in the box is the answer.
| Distribution | Status | Fixed package |
|---|---|---|
| Debian bookworm | Vulnerable | tomcat10 10.1.60-1~deb12u1 in bookworm-security still affected; no DSA (bug 1154583). tomcat9 is marked fixed only because 9.0.70-2 no longer ships the server |
| Debian trixie | Vulnerable | tomcat10 10.1.60-1~deb13u1 and tomcat11 11.0.22-1~deb13u1 affected; no DSA (bugs 1154583, 1154584) |
| Debian forky, sid | Vulnerable | tomcat10 10.1.61-1, tomcat11 11.0.27-1, both unfixed |
| Ubuntu | Medium, needs evaluation | no USN; tomcat9, tomcat10 and tomcat11 listed as needs evaluation on every release that carries them (18.04 to 26.10) |
| RHEL, Rocky, Alma, CentOS Stream | Moderate, 5.9 | no erratum and no per-product table on the page on 1 December; Red Hat’s mitigation is to disable the CGI servlet in web.xml where it is not needed and restart, and its statement says the servlet is disabled by default in its deployments |
| SUSE / openSUSE | moderate, Pending (bug 1291053) | tomcat packages Affected on SLE 15 SP7, SLES 16.0/16.1, openSUSE Leap 15.3 to 16.1 and SUSE Manager 4.0 to 4.3; no update yet |
| Alpine, Arch, Fedora, containers, upstream tarball | Not consulted | fixed once Tomcat is at 9.0.124, 10.1.62 or 11.0.29; the official tomcat images on Docker Hub track the upstream versions |
How to check
Two questions: which Tomcat is running, and is the CGI servlet enabled anywhere, in the global conf/web.xml or in an application’s own WEB-INF/web.xml. The second decides exposure; the servlet is off unless someone turned it on.
# 1. Running version (affected: 9.0.0-9.0.123, 10.1.0-10.1.61, 11.0.0-11.0.27, plus EOL 8.5 and 7.0)
"${CATALINA_HOME:-/opt/tomcat}/bin/version.sh" 2>/dev/null | grep 'Server number'
dpkg -l 'tomcat*' 2>/dev/null | grep '^ii'; rpm -qa 'tomcat*' 2>/dev/null
# 2. Is the CGI servlet enabled? An uncommented <servlet-class> line or a cgi mapping means yes
B="${CATALINA_BASE:-/opt/tomcat}"
grep -nE 'CGIServlet|servlet-name>cgi<|/cgi-bin/' "$B/conf/web.xml" "$B"/webapps/*/WEB-INF/web.xml 2>/dev/null
# the same, ignoring commented-out sections (prints only live configuration)
for f in "$B/conf/web.xml" "$B"/webapps/*/WEB-INF/web.xml; do
[ -f "$f" ] && sed 's/<!--.*-->//g' "$f" | sed '/<!--/,/-->/d' | grep -qE 'CGIServlet' && echo "CGI enabled in $f"
done
# and the privileged flag CGI needs in the context
grep -rn 'privileged="true"' "$B/conf/context.xml" "$B"/conf/Catalina/*/*.xml "$B"/webapps/*/META-INF/context.xml 2>/dev/nullIf step 2 prints nothing, the CGI servlet is not configured and this CVE cannot be reached on any version; the upgrade is still due for the thirteen other CVEs in the set, but this one adds no urgency. If it prints a live CGIServlet entry, the servlet is reachable at the mapped path (/cgi-bin/* by default) by any client, and an attack shows as the connector’s busy thread count climbing to maxThreads with requests to that path that never complete; jstack on the JVM shows the stuck threads inside CGIServlet.
How to fix it
Upgrade to 9.0.124, 10.1.62 or 11.0.29 and restart Tomcat. For a tarball install, unpack the new version beside the old one and point CATALINA_HOME at it; for packaged installs, wait for the distribution’s update, which on 1 December none of Debian, Ubuntu or SUSE had issued. Tomcat 8.5 and 7.0 are end of life and will not get a fix.
# Upstream tarball (example for 9.0.x; substitute 10.1.62 or 11.0.29)
V=9.0.124
cd /opt && curl -fsSLO "https://dlcdn.apache.org/tomcat/tomcat-9/v${V}/bin/apache-tomcat-${V}.tar.gz" \
&& curl -fsSLO "https://downloads.apache.org/tomcat/tomcat-9/v${V}/bin/apache-tomcat-${V}.tar.gz.sha512" \
&& sha512sum -c "apache-tomcat-${V}.tar.gz.sha512" && tar xzf "apache-tomcat-${V}.tar.gz"
sudo systemctl stop tomcat && sudo ln -sfn "/opt/apache-tomcat-${V}" /opt/tomcat && sudo systemctl start tomcat
# Debian / Ubuntu / SUSE (when the package lands)
sudo apt update && sudo apt install --only-upgrade tomcat10 tomcat11 2>/dev/null; sudo zypper patch 2>/dev/null
sudo systemctl restart tomcat10 2>/dev/null || sudo systemctl restart tomcatIf the CGI servlet is enabled and nothing uses it, Red Hat’s mitigation is the complete one and works on every version: comment the servlet and its mapping back out of web.xml and restart. If something does use it, keep its URL behind authentication or a trusted-network rule until the upgrade. Do not try to fix this by lowering maxThreads; fewer threads only makes the exhaustion quicker.
<!-- conf/web.xml: the default state, CGI off. Leave both blocks commented out unless you need CGI -->
<!--
<servlet>
<servlet-name>cgi</servlet-name>
<servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
...
</servlet>
-->
<!--
<servlet-mapping>
<servlet-name>cgi</servlet-name>
<url-pattern>/cgi-bin/*</url-pattern>
</servlet-mapping>
-->Sources
- CVE-2026-118436 at CVE.org — the Apache CNA record with the affected ranges and the Moderate label (published 19 November 2026)
- Tomcat security pages for 11, 10 and 9 — the entry under “Fixed in 11.0.29 / 10.1.62 / 9.0.124”, the commit hashes and the reported (15 October) and public (19 November) dates
- Fix commits 653bfad0 (11.0.x; GitHub rate-limited the request on 1 December, so the diff was not read), 2bdd441d (10.1.x) and 3589c02e (9.0.x)
- NVD entry — Awaiting Analysis on 1 December 2026; carries CISA’s 7.5 and CWE-770
- Distribution trackers: Debian · Ubuntu · Red Hat (with the mitigation text) · SUSE
- EPSS score for this CVE, 30 November 2026
Related reading
- CVE-2026-118233: Apache Tomcat memory leak on HTTP upgrade — the first denial of service from the same day
- CVE-2026-116600: Apache Tomcat WebSocket memory leak with OpenWebBeans — the third
- CVE-2026-116830: Apache Tomcat HTTP/2 checks frame type before size — the fourth
- CVE-2026-116561: Apache Tomcat Jakarta Authentication secureResponse returns 200 — another flaw in the same release set that depends on an optional feature being switched on
- CVE-2026-133325: Apache Tomcat cluster TLS-PSK bypass — the Critical item in the same release set
- Security advisories — every CVE page on this site, newest first, with the component index
This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.
