CVE-2025-66560: Quarkus rest Quarkus REST Has Potential Worker Vulnerability

MODERATE
Advisory Identifier: GHSA-5rfx-cp42-p624
CVSS 5.9
CWE-770
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-66560
GHSA Identifier GHSA-5rfx-cp42-p624
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Quarkus rest
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (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.

io.quarkus:quarkus-rest fixed: 3.20.5
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-rest</artifactId>
    <version>3.20.5</version>
</dependency>
io.quarkus:quarkus-rest fixed: 3.27.2
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-rest</artifactId>
    <version>3.27.2</version>
</dependency>
io.quarkus:quarkus-rest fixed: 3.31.0
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-rest</artifactId>
    <version>3.31.0</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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

CVE-2025-66560 Affected Quarkus rest Versions

3 component(s)
Fixed Versions:
3.20.53.27.23.31.0
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?
CVE-2025-66560 is a security vulnerability in Quarkus rest involving Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to write under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Quarkus rest versions are affected?
Affected versions include releases prior to 3.20.5, 3.27.2, 3.31.0 across affected packages: io.quarkus:quarkus-rest.
What version fixes CVE-2025-66560?
Upgrading to 3.20.5, 3.27.2, 3.31.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is quarkus-rest affected?
Yes, io.quarkus:quarkus-rest is affected in releases prior to 3.20.5, 3.27.2, 3.31.0. Upgrade your dependency to 3.20.5, 3.27.2, 3.31.0 or later.
What is the CVSS score of CVE-2025-66560?
CVE-2025-66560 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-66560?
CVE-2025-66560 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (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.).
How can I check Maven dependencies for CVE-2025-66560?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.quarkus'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}