CVE-2026-118436: Apache Tomcat: CGIServlet drops chunked POST body and can hang worker thread
CVE-2026-118436 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Medium
- CVSS base score
- 5.9 (Red Hat)
- Weakness
- CWE-770 Allocation of resources without limits or throttling
- Fixed releases
- Apache: 11.0.29, 10.1.62, 9.0.124
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-118436; each belongs to its advisory, not to every product listed. How records are collected and checked.
Description
Allocation of resources without limits or throttling vulnerability in Apache Tomcat in the CGI Servlet when handling POST bodies can result in a DoS for some inputs. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.27, from 10.1.0-M1 through 10.1.61, from 9.0.0.M1 through 9.0.123. The following versions were EOL at the time the CVE was created but are known to be affected: from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109. Other unsupported versions may also be affected. Users are recommended to upgrade to version 11.0.29, 10.1.62 or 9.0.124, which fix the issue. Note: Tomcat 11.0.28 was not released
Text from the CVE.org record (apache).
How do I fix CVE-2026-118436?
Upgrade to a fixed release named by the vendor:
- Apache: 11.0.29, 10.1.62, 9.0.124
- Users are recommended to upgrade to version 11.0.29, 10.1.62 or 9.0.124, which fix the issue. (Apache)
- Disable the CGI Servlet if CGI functionality is not required. 1. In the global configuration file (`/etc/tomcat/web.xml` or `$CATALINA_BASE/conf/web.xml`), ensure the servlet definition and servlet mapping for `cgi` are commented out or removed: ```xml cgi org.apache.catalina.servlets.CGIServlet ... cgi /cgi-bin/* --> ``` 2. Restart the Tomcat service to apply the configuration change: ``` systemctl restart tomcat ``` Warning: Restarting the Tomcat service will terminate existing connections and cause a temporary service disruption. Disabling the CGI servlet will prevent any deployed CGI scripts from executing. (Red Hat)
Vendor advisories for CVE-2026-118436
Apache
1 advisory- Advisory severityMedium
Medium [CVE-2026-118436] Allocation of resources without limits or throttling vulnerability in Apache Tomcat in the CGI Servlet when handling POST bodies can result in a DoS for some inputs
CVE-2026-118436Source published Source updated
Allocation of resources without limits or throttling vulnerability in Apache Tomcat in the CGI Servlet when handling POST bodies can result in a DoS for some inputs. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.27, from 10.1.0-M1 through 10.1.61, from 9.0.0.M1 through 9.0.123. The following versions were EOL at the time the CVE was created but are known to be affected: from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109. Other unsupported versions may also be affected. Users are recommended to upgrade to version 11.0.29, 10.1.62 or 9.0.124, which fix the issue. Note: Tomcat 11.0.28 was not released
- Affected products in this advisory
- Apache Tomcat
- Source-reported affected versions
- 11.0.0-M1 through 11.0.27
- 10.1.0-M1 through 10.1.61
- 9.0.0.M1 through 9.0.123.
- 8.5.0 through 8.5.100
3 more entries in the full advisory.
- Source-reported fixed versions
- 11.0.29
- 10.1.62
- 9.0.124
- Mitigation guidance
- Users are recommended to upgrade to version 11.0.29, 10.1.62 or 9.0.124, which fix the issue.
Red Hat
1 advisory- Advisory severityMedium5.9
Medium [CVE-2026-118436] Denial of Service via unconstrained POST body processing in CGI Servlet
CVE-2026-118436Source published Source updated
Denial of Service via unconstrained POST body processing in CGI Servlet. Red Hat rates this moderate (CVSS 5.9). Weakness: CWE-770. Affected product named by the advisory: Red Hat Hardened Images.
- Related products — impact not confirmed
- Red Hat Hardened Images
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- Disable the CGI Servlet if CGI functionality is not required. 1. In the global configuration file (`/etc/tomcat/web.xml` or `$CATALINA_BASE/conf/web.xml`), ensure the servlet definition and servlet mapping for `cgi` are commented out or removed: ```xml <!-- <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> --> ``` 2. Restart the Tomcat service to apply the configuration change: ``` systemctl restart tomcat ``` Warning: Restarting the Tomcat service will terminate existing connections and cause a temporary service disruption. Disabling the CGI servlet will prevent any deployed CGI scripts from executing.
References
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
More Apache advisories
CVE-2026-121649Nov 19, 2026Apache Tomcat information disclosureCVE-2026-133325Nov 19, 2026Key exchange without entity authentication vulnerability in Apache TomcatCVE-2026-118233Nov 19, 2026Apache Tomcat denial of serviceCVE-2026-118028Nov 19, 2026Execution After Redirect (EAR) vulnerability in Apache Tomcat in RedirectValveCVE-2026-117517Nov 19, 2026Apache Tomcat: The fix for CVE-2026-25854 was incompleteCVE-2026-116830Nov 19, 2026Apache Tomcat denial of service
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.