CVE-2025-66560 — quarkus-rest
MEDIUMCVE-2025-66560 is a medium-severity (CVSS 5.9) CWE-770 vulnerability in io.quarkus:quarkus-rest. A fix is available for io.quarkus:quarkus-rest — see the affected versions and patch details below.
Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to write
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-66560.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
io.quarkus:quarkus-rest☕io.quarkus:quarkus-rest☕io.quarkus:quarkus-restReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | io.quarkus:quarkus-rest | all versions | 3.20.5io.quarkus:quarkus-rest:3.20.5 |
| ☕Maven | io.quarkus:quarkus-rest | ≥ 3.21.0&&< 3.27.2 | 3.27.2io.quarkus:quarkus-rest:3.27.2 |
| ☕Maven | io.quarkus:quarkus-rest | ≥ 3.30.0&&< 3.31.0 | 3.31.0io.quarkus:quarkus-rest:3.31.0 |
Affected Products
quarkusquarkusDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.quarkus:quarkus-rest, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update io.quarkus:quarkus-rest to 3.20.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-66560 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability is rated Moderate for Red Hat products utilizing Quarkus REST, including Red Hat AMQ, Cryostat, Enterprise Application Platform, OpenShift Container Platform, and Red Hat Build of Quarkus. The flaw in the HTTP layer can lead to an application-level denial of service if remote attackers repeatedly…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.Source: Red Hat security advisory for CVE-2025-66560 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat build of Quarkus 3.20.5.redhat | io.quarkus/quarkus-rest:3.20.5.redhat-00001 | RHSA-2026:1899 |
| Red Hat build of Quarkus 3.27.2.redhat | io.quarkus/quarkus-rest:3.27.2.redhat-00001 | RHSA-2026:1965 |
Frequently Asked Questions
Is CVE-2025-66560 in your dependencies?
Find it across Maven, including transitive dependencies.