Skip to main content
Mallory
HighVulnerability

CVE-2016-5388: HTTPoxy in Apache Tomcat CGI Servlet

Published Jul 19, 2016 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.1High · v3
EPSS50.9%99th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
Red HatOracle CorporationHewlett Packard EnterpriseApache Software Foundation
IdentifiersCVE-2016-5388CWE-20

CVE-2016-5388 is an HTTPoxy vulnerability in Apache Tomcat CGI processing. When the optional CGI Servlet is enabled, Tomcat can propagate an attacker-controlled HTTP Proxy request-header value to a CGI script as the HTTP_PROXY environment variable. CGI applications using HTTP client implementations that honor this variable for proxy configuration can consequently route their outbound HTTP requests through an attacker-selected proxy. Affected upstream versions include Tomcat 7.0.70 and earlier in the 7.x line and Tomcat 8.5.4 and earlier in the 8.x line.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An unauthenticated remote attacker may redirect outbound HTTP traffic issued by an affected CGI application through an attacker-controlled proxy. This can enable interception of data transmitted by the CGI application, modification or injection of proxied HTTP responses, and denial of service by delaying or holding proxied connections open. Impact depends on the CGI application's outbound HTTP behavior and whether its HTTP client honors HTTP_PROXY.

Mitigation

If you can’t patch tonight, do this now.

Disable the CGI Servlet where CGI execution is not required. Until updates are installed, reject inbound requests containing a Proxy header before CGI processing, using a web-application filter or a global Tomcat valve. A source-level mitigation is to modify CGI handling to exclude the Proxy header from the CGI environment.

Remediation

Patch, then assume compromise.

Upgrade to a fixed Tomcat release. Fixed versions include Tomcat 7.0.72 or later and Tomcat 8.5.5 or later; Tomcat 8.0.37 also includes the upstream fix. For vendor-packaged deployments, install the applicable vendor security update. The correction prevents the inbound Proxy header from being propagated to CGI applications as HTTP_PROXY.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationTomcatapplication
Hewlett Packard EnterpriseSystem Management Homepageapplication
Oracle CorporationLinuxoperating_system
Red HatEnterprise Linux Desktopoperating_system
Red HatEnterprise Linux Hpc Nodeoperating_system
Red HatEnterprise Linux Hpc Node Eusoperating_system
Red HatEnterprise Linux Serveroperating_system
Red HatEnterprise Linux Server Ausoperating_system
Red HatEnterprise Linux Server Eusoperating_system
Red HatEnterprise Linux Server Tusoperating_system
Red HatEnterprise Linux Workstationoperating_system
FAQ

Frequently asked questions

Is CVE-2016-5388 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2016-5388 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2016-5388?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2016-5388.
Is there a patch for CVE-2016-5388?
Upgrade to a fixed Tomcat release. Fixed versions include Tomcat 7.0.72 or later and Tomcat 8.5.5 or later; Tomcat 8.0.37 also includes the upstream fix.
What products are affected by CVE-2016-5388?
Apache Software Foundation Tomcat, Red Hat Enterprise Linux Desktop, Red Hat Enterprise Linux Hpc Node, Red Hat Enterprise Linux Hpc Node Eus, Red Hat Enterprise Linux Server, and 6 more.
How severe is CVE-2016-5388?
CVE-2016-5388 has a CVSS v3 score of 8.1 (High) and an EPSS score of 50.9% (99th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+5 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.