CVE-2019-0232

Vulnerability in Apache Tomcat

No CVSS score yet EPSS 99.9%

Published 15 Apr 2019 Updated 2 Nov 2026 CNA: apache

Description

When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 is vulnerable to Remote Code Execution due to a bug in the way the JRE passes command line arguments to Windows. The CGI Servlet is disabled by default. The CGI option enableCmdLineArguments is disable by default in Tomcat 9.0.x (and will be disabled by default in all versions in response to this vulnerability). For a detailed explanation of the JRE behaviour, see Markus Wulftange's blog (https://codewhitesec.blogspot.com/2016/02/java-and-command-line-injections-in-windows.html) and this archived MSDN blog (https://web.archive.org/web/20161228144344/https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/).

Exploitation

EPSS 99.9%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 26 Nov 2026.

The assessment of CISA (SSVC, 2 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Tomcat
affected 9.0.0.M1 to 9.0.17
affected 8.5.0 to 8.5.39
affected 7.0.0 to 7.0.93

Is my server affected?

Find the installed version of tomcat and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i tomcat
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-0232 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-0232

RHEL, Rocky, Alma, Fedora

rpm -q tomcat
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-0232

Alpine

apk list --installed | grep -i tomcat

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2019-0232
trivy image --scanners vuln IMAGE | grep CVE-2019-0232

PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.

References

Advisories

Other references

16 more

Source: the record CVE-2019-0232 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.