Missing Release of Resource after Effective Lifetime Affecting org.apache.httpcomponents.client5:httpclient5 package, versions [5.0-alpha1,5.6.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEHTTPCOMPONENTSCLIENT5-18857813
  • published16 Aug 2026
  • disclosed31 Jul 2026
  • creditUnknown

Introduced: 31 Jul 2026

NewCVE-2026-64607  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade org.apache.httpcomponents.client5:httpclient5 to version 5.6.3 or higher.

Overview

org.apache.httpcomponents.client5:httpclient5 is a HttpClient component of the Apache HttpComponents project.

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime via the ContentCompressionExec response decoding path in httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/ContentCompressionExec.java. An attacker can exhaust the connection pool by sending a response with an invalid or unsupported Content-Encoding header that causes decoding to fail. When the classic I/O client raises the exception, it leaves the underlying response stream and connection unreleased, so pooled connections remain tied up and subsequent requests stall or fail.

CVSS Base Scores

version 4.0
version 3.1