CVE-2025-66560: Quarkus rest Quarkus REST Has Potential Worker Vulnerability
MODERATECVE-2025-66560 is a MODERATE (CVSS 5.9) quarkus rest has potential worker vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Quarkus rest libraries in the Maven ecosystem. The issue involves quarkus rest has potential worker thread starvation when http connection is closed while waiting to write. Remediation is available by upgrading affected packages to version 3.20.5, 3.27.2, 3.31.0.
CVE-2025-66560 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2025-66560
To remediate this vulnerability, upgrade all affected Quarkus rest dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest</artifactId>
<version>3.20.5</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest</artifactId>
<version>3.27.2</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest</artifactId>
<version>3.31.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.quarkus
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-66560, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.quarkus
Analyze the terminal output to locate any version of Quarkus rest in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.20.5), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.quarkus command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Quarkus rest, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-66560 Affected Quarkus rest Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.quarkus:quarkus-rest
|
Maven |
< 3.20.5
|
3.20.5
|
|
io.quarkus:quarkus-rest
|
Maven |
≥ 3.21.0
< 3.27.2
|
3.27.2
|
|
io.quarkus:quarkus-rest
|
Maven |
≥ 3.30.0
< 3.31.0
|
3.31.0
|
References
Frequently Asked Questions
What is CVE-2025-66560?
Which Quarkus rest versions are affected?
What version fixes CVE-2025-66560?
Is quarkus-rest affected?
What is the CVSS score of CVE-2025-66560?
What CWE is associated with CVE-2025-66560?
How can I check Maven dependencies for CVE-2025-66560?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5rfx-cp42-p624",
"modified" : "2026-01-07T20:37:40Z",
"published" : "2026-01-07T18:09:56Z",
"aliases" : [ "CVE-2025-66560" ],
"summary" : "Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to write",
"details" : "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",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.quarkus:quarkus-rest"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.20.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.quarkus:quarkus-rest"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.21.0"
}, {
"fixed" : "3.27.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.quarkus:quarkus-rest"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.30.0"
}, {
"fixed" : "3.31.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/quarkusio/quarkus/security/advisories/GHSA-5rfx-cp42-p624"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66560"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/quarkusio/quarkus"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-07T18:09:56Z",
"nvd_published_at" : "2026-01-07T18:15:52Z"
}
}