CVE-2025-66560
Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to write
Description
A vulnerability exists in the HTTP layer of Quarkus REST related to response handling. When a response is being written, the framework waits for previously written response chunks to be fully transmitted before proceeding. If the client connection is dropped during this waiting period, the associated worker thread is never released and becomes permanently blocked. Under sustained or repeated occurrences, this can exhaust the available worker threads, leading to degraded performance, or complete unavailability of the application.
Workarounds
For versions without the fix applied, it is recommended to implement a health check that monitors the status and saturation of the worker thread pool. This helps detect abnormal thread retention early and allows operators to take corrective action before the application’s responsiveness is impacted.
Credits
CVE reported by Shaswata Jash, Nokia
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.quarkus » quarkus-rest | < 3.20.5>= 3.21.0, < 3.27.2>= 3.30.0, < 3.31.0 | 3.20.5, 3.27.2, 3.31.0 |
Blast radius
36% of the dependent artifacts (167) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 3,515 |
| 2 hops | 4,816 |
| 3 hops | 2,265 |
| 4 hops | 2,089 |
Most used dependents
- io.quarkus » quarkus-rest-jackson386 usages
- io.quarkus » quarkus-rest-deployment111 usages
- io.quarkus » quarkus-rest-jackson-deployment76 usages
- org.keycloak.testframework » keycloak-test-framework-core29 usages
- io.quarkus » quarkus-rest-jsonb22 usages
- org.pipelineframework » pipelineframework18 usages
- io.quarkus » quarkus-rest-qute17 usages
- com.end2endlogic » quantum-models16 usages
- at.meks.quarkiverse.axonframework-extension » quarkus-axon-deployment13 usages
- at.meks.quarkiverse.axonframework-extension » unittest13 usages
- com.end2endlogic » quantum-morphia-repos13 usages
- io.quarkus » quarkus-rest-jsonb-deployment12 usages
- org.apache.polaris » polaris-runtime-service12 usages
- io.quarkus » quarkus-rest-qute-deployment11 usages
- org.keycloak » keycloak-quarkus-server11 usages
Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2025-66560 | nvd.nist.gov |
| Package | quarkusio/quarkus | github.com |
| Web | quarkusio/quarkus advisory GHSA-5rfx-cp42-p624 | github.com |
