Vulnerabilities in pkg:maven/io.quarkus/quarkus-resteasy

PACKAGE
Advisory Identifier: GHSA-4fwr-mh5q-hchh
Advisory Summary

CVE-2025-1634 is a HIGH (CVSS 7.5) quarkus-resteasy: memory leak vulnerability (CWE-401: Missing Release of Memory after Effective Lifetime) affecting Quarkus resteasy libraries in the Maven ecosystem. The issue involves quarkus-resteasy: memory leak in quarkus resteasy classic when client requests timeout. Remediation is available by upgrading affected packages to version 3.19.1, 3.15.3.1, 3.8.6.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.quarkus/quarkus-resteasy

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/io.quarkus/quarkus-resteasy. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-4fwr-mh5q-hchh CVE-2025-1634 HIGH io.quarkus:quarkus-resteasy: Memory Leak in Quarkus RESTEasy Classic When Client Requests Timeout

CVE-2025-1634 at a Glance

CVE Identifier CVE-2025-1634
GHSA Identifier GHSA-4fwr-mh5q-hchh
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-401: Missing Release of Memory after Effective Lifetime
Affected Product Quarkus resteasy
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
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-1634

To remediate this vulnerability, upgrade all affected Quarkus resteasy 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-resteasy fixed: 3.19.1
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-resteasy</artifactId>
    <version>3.19.1</version>
</dependency>
io.quarkus:quarkus-resteasy fixed: 3.15.3.1
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-resteasy</artifactId>
    <version>3.15.3.1</version>
</dependency>
io.quarkus:quarkus-resteasy fixed: 3.8.6.1
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-resteasy</artifactId>
    <version>3.8.6.1</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-1634, 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 resteasy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.19.1), 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-401: Missing Release of Memory after Effective Lifetime, where the product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. In Quarkus resteasy, 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 flaw was found in the quarkus-resteasy extension, which causes memory leaks when client requests with low timeouts are made. If a client request times out, a buffer is not released correctly, leading to increased memory usage and eventual application crash due to OutOfMemoryError.

CVE-2025-1634 Affected Quarkus resteasy Versions

3 component(s)
Fixed Versions:
3.19.13.15.3.13.8.6.1
Product / Package Ecosystem Affected Versions Fixed Version
io.quarkus:quarkus-resteasy
Maven
≥ 3.16.0.CR1
< 3.19.1
3.19.1
io.quarkus:quarkus-resteasy
Maven
≥ 3.9.0.CR1
< 3.15.3.1
3.15.3.1
io.quarkus:quarkus-resteasy
Maven
< 3.8.6.1
3.8.6.1

References

NVD — CVE-2025-1634 NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-1634
Quarkus resteasy Source Repository REPOSITORY
https://github.com/quarkusio/quarkus/issues/46412
Quarkus resteasy Source Repository REPOSITORY
https://github.com/quarkusio/quarkus/pull/46426
Quarkus resteasy Source Repository REPOSITORY
https://github.com/quarkusio/quarkus/pull/46425
Quarkus resteasy Source Repository REPOSITORY
https://github.com/quarkusio/quarkus/pull/46419
Security Fix Commit FIX COMMIT
https://github.com/quarkusio/quarkus/commit/80b8eb41678cdccb46e964dc324d048a5ef00f4b
Security Fix Commit FIX COMMIT
https://github.com/quarkusio/quarkus/commit/70ffbd00d71d43afa7eade32d6ed586cf927c237
Security Fix Commit FIX COMMIT
https://github.com/quarkusio/quarkus/commit/30d949a4c54ba1057738849a804d2329c09e57be
Security Fix Commit FIX COMMIT
https://github.com/quarkusio/quarkus/commit/291296befabf659b71acbfc6e03a12bd09a920f8
Quarkus resteasy Source Repository REPOSITORY
https://github.com/quarkusio/quarkus
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2347319
Quarkus resteasy Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2025-1634
access.redhat.com/errata/rhsa-2025:99... WEB
https://access.redhat.com/errata/RHSA-2025:9922
access.redhat.com/errata/rhsa-2025:23... WEB
https://access.redhat.com/errata/RHSA-2025:23417
access.redhat.com/errata/rhsa-2025:20... WEB
https://access.redhat.com/errata/RHSA-2025:2067
access.redhat.com/errata/rhsa-2025:18... WEB
https://access.redhat.com/errata/RHSA-2025:1885
access.redhat.com/errata/rhsa-2025:18... WEB
https://access.redhat.com/errata/RHSA-2025:1884
access.redhat.com/errata/rhsa-2025:12... WEB
https://access.redhat.com/errata/RHSA-2025:12511

Frequently Asked Questions

What is CVE-2025-1634?
CVE-2025-1634 is a security vulnerability in Quarkus resteasy involving quarkus-resteasy: Memory Leak in Quarkus RESTEasy Classic When Client Requests Timeout under CWE-401: Missing Release of Memory after Effective Lifetime.
Which Quarkus resteasy versions are affected?
Affected versions include releases prior to 3.19.1, 3.15.3.1, 3.8.6.1 across affected packages: io.quarkus:quarkus-resteasy.
What version fixes CVE-2025-1634?
Upgrading to 3.19.1, 3.15.3.1, 3.8.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is quarkus-resteasy affected?
Yes, io.quarkus:quarkus-resteasy is affected in releases prior to 3.19.1, 3.15.3.1, 3.8.6.1. Upgrade your dependency to 3.19.1, 3.15.3.1, 3.8.6.1 or later.
What is the CVSS score of CVE-2025-1634?
CVE-2025-1634 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-1634?
CVE-2025-1634 is classified under CWE-401: Missing Release of Memory after Effective Lifetime (The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.).
How can I check Maven dependencies for CVE-2025-1634?
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-4fwr-mh5q-hchh",
  "modified" : "2026-04-27T16:35:32Z",
  "published" : "2025-02-26T18:30:39Z",
  "aliases" : [ "CVE-2025-1634" ],
  "summary" : "io.quarkus:quarkus-resteasy: Memory Leak in Quarkus RESTEasy Classic When Client Requests Timeout",
  "details" : "A flaw was found in the quarkus-resteasy extension, which causes memory leaks when client requests with low timeouts are made. If a client request times out, a buffer is not released correctly, leading to increased memory usage and eventual application crash due to OutOfMemoryError.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus:quarkus-resteasy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.16.0.CR1"
      }, {
        "fixed" : "3.19.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus:quarkus-resteasy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.9.0.CR1"
      }, {
        "fixed" : "3.15.3.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.quarkus:quarkus-resteasy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.8.6.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-1634"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/issues/46412"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/pull/46426"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/pull/46425"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/pull/46419"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/commit/80b8eb41678cdccb46e964dc324d048a5ef00f4b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/commit/70ffbd00d71d43afa7eade32d6ed586cf927c237"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/commit/30d949a4c54ba1057738849a804d2329c09e57be"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/quarkusio/quarkus/commit/291296befabf659b71acbfc6e03a12bd09a920f8"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/quarkusio/quarkus"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2347319"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2025-1634"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:9922"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:23417"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:2067"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:1885"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:1884"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:12511"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-401" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-02-26T21:06:49Z",
    "nvd_published_at" : "2025-02-26T17:15:22Z"
  }
}