GitHub Advisoryadvisory · Maven

GHSA-5rfx-cp42-p624 Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to write

MEDIUM Published 2026-01-07 Modified 2026-01-07 Official page ↗
Aliases
CVE-2025-66560
Ecosystem
Maven
Packages
io.quarkus:quarkus-rest
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-770
Reviewed
2026-01-07

Affected packages

• Maven io.quarkus:quarkus-rest: < 3.20.5 → fixed in 3.20.5 • Maven io.quarkus:quarkus-rest: >= 3.21.0, < 3.27.2 → fixed in 3.27.2 • Maven io.quarkus:quarkus-rest: >= 3.30.0, < 3.31.0 → fixed in 3.31.0

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

Related

Alias · CVE (1)

  • CVE-2025-66560 Quarkus is a Cloud Native, (Linux) Container First framework for writing Java applications. vulnerability

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References