Micrometer instrumentation of Apache HttpAsyncClient DoS vulnerability

MEDIUM | AUGUST 20, 2026 | CVE-2026-59295

Description

It is possible for outbound HTTP requests using a Micrometer-instrumented client to cause a denial-of-service (DoS) condition due to an unbounded memory leak.

Specifically, an application is vulnerable when all the following are true:

  • The application uses a vulnerable version of io.micrometer:micrometer-core.
  • The application instruments an Apache HttpAsyncClient (4.x or 5.x) with MicrometerHttpClientInterceptor.
  • Outbound requests target a hostile or unreliable remote endpoint, or can be subjected to pre-response transport failures.

When an outbound asynchronous HTTP request fails before any response message is received (such as a connection reset, connection timeout, or socket failure), the tracking state is never removed from the interceptor. Under sustained connection failures, this leads to unbounded JVM heap memory leak and eventual application crash via OutOfMemoryError.

Affected Spring Products and Versions

Micrometer:

  • 1.17.0 - 1.17.0
  • 1.16.0 - 1.16.6
  • 1.15.0 - 1.15.12
  • 1.14.0 - 1.14.16
  • 1.9.18 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
1.17.0.1Enterprise Support Only
1.17.1OSS
1.16.6.1Enterprise Support Only
1.16.7OSS
1.15.13Enterprise Support Only
1.14.17Enterprise Support Only
1.9.19Enterprise Support Only

If you are using Apache HTTP Client 5.6.x or later, use the httpclient5-observation module, which supersedes the instrumentation in Micrometer and is not vulnerable to this issue.

Otherwise, if you are using Apache HTTP Client 5.x and Micrometer 1.12.0 or later, migrate away from MicrometerHttpClientInterceptor to the non-vulnerable ObservationExecChainHandler which handles terminal outcomes correctly by design.

History

  • 2026-08-20: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all