Vert.x has a DoS via unbounded server-side SNI SslContext cache growth
🔗 CVE IDs covered (1)
📋 Description
Potential unbounded server-side SNI SslContext cache growth in Vert.x TLS handling, with = resource-exhaustion / DoS impact. On affected versions, matching server-side SNI names are cached via computeIfAbsent(serverName, ...) in a serverName-keyed SslContext cache.
The implementation differs slightly by branch, but the same sink appears to be present in released versions 4.3.4 through 5.0.11:
4.3.x:SSLHelper4.4.x/4.5.x:SslChannelProvider5.0.xand currentmaster:SslContextProvider
When server-side SNI is enabled and wildcard or otherwise broad hostname mappings are used, an unauthenticated client can send many distinct matching SNI names and cause the server to retain increasing numbers of SslContext entries over time, leading to increasing memory consumption and possible DoS conditions.
Steps to reproduce
- Configure a Vert.x server with
setSsl(true)andsetSni(true). - Use a keystore or mapping where many distinct SNI names match a wildcard or similarly broad rule.
- Send repeated connections with distinct matching SNI values.
- Observe that the SNI cache size grows with the number of unique matching names.
What are the affected versions?
Affected released versions confirmed on origin:
4.3.4through4.3.84.4.0through4.4.94.5.0through4.5.265.0.0through5.0.11
Not affected by the same sink:
4.0.xthrough4.2.x4.3.0through4.3.3
🎯 Affected products4
- maven/io.vertx:vertx-core:>= 4.3.4, <= 4.3.8
- maven/io.vertx:vertx-core:>= 4.4.0, <= 4.4.9
- maven/io.vertx:vertx-core:>= 4.5.0, <= 4.5.26
- maven/io.vertx:vertx-core:>= 5.0.0, <= 5.0.11
🔗 References (8)
- https://github.com/eclipse-vertx/vert.x/security/advisories/GHSA-3g76-f9xq-8vp6
- https://nvd.nist.gov/vuln/detail/CVE-2026-6860
- https://github.com/eclipse-vertx/vert.x/pull/6102
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/381
- https://github.com/vert-x3/wiki/wiki/4.5.27-Release-Notes
- https://vertx.io/blog/eclipse-vert-x-4-5-27
- https://vertx.io/blog/eclipse-vert-x-5-0-12
- https://github.com/advisories/GHSA-3g76-f9xq-8vp6