NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-66560: Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to write

mediumCVSS 3.1 5.9GHSA-5rfx-cp42-p624

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.

Published Jan 7, 2026

Affected packages

io.quarkus:quarkus-rest

Ecosystem
Maven
Affected
< 3.20.5
Fixed in
3.20.5
Check
mvn dependency:tree -Dincludes=io.quarkus:quarkus-rest

io.quarkus:quarkus-rest

Ecosystem
Maven
Affected
>= 3.21.0, < 3.27.2
Fixed in
3.27.2
Check
mvn dependency:tree -Dincludes=io.quarkus:quarkus-rest

io.quarkus:quarkus-rest

Ecosystem
Maven
Affected
>= 3.30.0, < 3.31.0
Fixed in
3.31.0
Check
mvn dependency:tree -Dincludes=io.quarkus:quarkus-rest

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries