CVE-2015-5262 — httpclient
CVE-2015-5262 is a CWE-399 vulnerability in org.apache.httpcomponents:httpclient. EPSS puts its 30-day exploitation probability at 18.8% (97th percentile). A fix is available for org.apache.httpcomponents:httpclient — see the affected versions and patch details below.
Denial of service vulnerability in org.apache.httpcomponents:httpclient
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.apache.httpcomponents:httpclientReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
http/conn/ssl/SSLConnectionSocketFactory.java in Apache HttpComponents HttpClient before 4.3.6 ignores the http.socket.timeout configuration setting during an SSL handshake, which allows remote attackers to cause a denial of service (HTTPS call hang) via unspecified vectors.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.httpcomponents:httpclient | all versions | 4.3.6org.apache.httpcomponents:httpclient:4.3.6 |
Affected Products
httpclientapacheubuntu linuxcanonicalfedorafedoraprojectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.httpcomponents:httpclient, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.httpcomponents:httpclient to 4.3.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2015-5262 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2015-5262 in your dependencies?
Find it across Maven, including transitive dependencies.