Vulnerabilities in pkg:maven/io.quarkus/quarkus-resteasy
PACKAGECVE-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.
pkg:maven/io.quarkus/quarkus-resteasy
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
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).
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.
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy</artifactId>
<version>3.19.1</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy</artifactId>
<version>3.15.3.1</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy</artifactId>
<version>3.8.6.1</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-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
CVE-2025-1634 Affected Quarkus resteasy Versions
3 component(s)| 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
Frequently Asked Questions
What is CVE-2025-1634?
Which Quarkus resteasy versions are affected?
What version fixes CVE-2025-1634?
Is quarkus-resteasy affected?
What is the CVSS score of CVE-2025-1634?
What CWE is associated with CVE-2025-1634?
How can I check Maven dependencies for CVE-2025-1634?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}