{"id":"CVE-2025-66560","aliases":["CVE-2025-66560","GHSA-5rfx-cp42-p624"],"related":[],"kind":"vulnerability","state":"published","title":"Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to write","summary":"Quarkus is a Cloud Native, (Linux) Container First framework for writing Java applications. Prior to versions 3.31.0, 3.27.2, and 3.20.5, 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. This issue has been patched in versions 3.31.0, 3.27.2, and 3.20.5. A workaround involves implementing a health check that monitors the status and saturation of the worker thread pool to detect abnormal thread retention early.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Quarkus is a Cloud Native, (Linux) Container First framework for writing Java applications. Prior to versions 3.31.0, 3.27.2, and 3.20.5, 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. This issue has been patched in versions 3.31.0, 3.27.2, and 3.20.5. A workaround involves implementing a health check that monitors the status and saturation of the worker thread pool to detect abnormal thread retention early.","source":"cvelist"},{"lang":"en","text":"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.\n\n## Workarounds\n\nFor 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.\n\n## Credits\n\nCVE reported by Shaswata Jash, Nokia","format":"markdown","source":"ghsa"},{"lang":"es","text":"Quarkus es un framework Cloud Native, (Linux) Contenedor First para escribir aplicaciones Java. Antes de las versiones 3.31.0, 3.27.2 y 3.20.5, existe una vulnerabilidad en la capa HTTP de Quarkus REST relacionada con el manejo de respuestas. Cuando se está escribiendo una respuesta, el framework espera a que los fragmentos de respuesta escritos previamente se transmitan completamente antes de continuar. Si la conexión del cliente se cae durante este período de espera, el hilo de trabajador asociado nunca se libera y queda permanentemente bloqueado. Bajo ocurrencias sostenidas o repetidas, esto puede agotar los hilos de trabajador disponibles, lo que lleva a un rendimiento degradado o a la indisponibilidad completa de la aplicación. Este problema ha sido parcheado en las versiones 3.31.0, 3.27.2 y 3.20.5. Una solución alternativa implica implementar una comprobación de estado que monitoree el estado y la saturación del pool de hilos de trabajador para detectar la retención anormal de hilos tempranamente.","source":"nvd"}],"published":"2026-01-07T17:33:22.083Z","modified":"2026-10-07T09:10:00.160Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":">= 3.30.0, < 3.31.0","status":"affected"},{"version":">= 3.21.0, < 3.27.2","status":"affected"},{"version":"< 3.20.5","status":"affected"}],"vendor":"quarkusio","product":"quarkus","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.20.5"}],"ecosystem":"Maven","package":"io.quarkus:quarkus-rest","purl":"pkg:maven/io.quarkus/quarkus-rest","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.21.0","status":"affected","fixed":"3.27.2"}],"ecosystem":"Maven","package":"io.quarkus:quarkus-rest","purl":"pkg:maven/io.quarkus/quarkus-rest","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.30.0","status":"affected","fixed":"3.31.0"}],"ecosystem":"Maven","package":"io.quarkus:quarkus-rest","purl":"pkg:maven/io.quarkus/quarkus-rest","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.20.5"},{"status":"affected","introduced":"3.21.0","fixed":"3.27.2"},{"status":"affected","introduced":"3.30.0","fixed":"3.31.0"}],"vendor":"quarkus","product":"quarkus","cpe":"cpe:2.3:a:quarkus:quarkus:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/quarkusio/quarkus/security/advisories/GHSA-5rfx-cp42-p624","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66560","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/quarkusio/quarkus","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-07T17:59:26.212Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66560","url":"https://www.cve.org/CVERecord?id=CVE-2025-66560","licence":"CVE Terms of Use","modified":"2026-01-07T17:59:59.091Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5rfx-cp42-p624","url":"https://github.com/advisories/GHSA-5rfx-cp42-p624","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:54.436Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66560","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66560","licence":"Public domain","modified":"2026-10-07T09:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:10.414Z","epss":{"score":0.00383,"percentile":0.34441,"date":"2026-12-01T12:00:22.000Z"}}