CVE-2025-53114: Cometd java server common Acknowledgement Extension Out Of Memory Vulnerability
HIGHCVE-2025-53114 is a HIGH (CVSS 7.5) acknowledgement extension out of memory vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Cometd java server common libraries in the Maven ecosystem. The issue involves acknowledgement extension out of memory. Remediation is available by upgrading affected packages to version 5.0.23, 6.0.19, 7.0.19, 8.0.9.
CVE-2025-53114 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-53114
To remediate this vulnerability, upgrade all affected Cometd java server common 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>org.cometd.java</groupId>
<artifactId>cometd-java-server-common</artifactId>
<version>5.0.23</version>
</dependency>
<dependency>
<groupId>org.cometd.java</groupId>
<artifactId>cometd-java-server-common</artifactId>
<version>6.0.19</version>
</dependency>
<dependency>
<groupId>org.cometd.java</groupId>
<artifactId>cometd-java-server-common</artifactId>
<version>7.0.19</version>
</dependency>
<dependency>
<groupId>org.cometd.java</groupId>
<artifactId>cometd-java-server-common</artifactId>
<version>8.0.9</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.cometd.java
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-53114, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.cometd.java
Analyze the terminal output to locate any version of Cometd java server common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.23), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.cometd.java 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Cometd java server common, 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-53114 Affected Cometd java server common Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.cometd.java:cometd-java-server-common
|
Maven |
≥ 5.0.0
< 5.0.23
|
5.0.23
|
|
org.cometd.java:cometd-java-server-common
|
Maven |
≥ 6.0.0
< 6.0.19
|
6.0.19
|
|
org.cometd.java:cometd-java-server-common
|
Maven |
≥ 7.0.0
< 7.0.19
|
7.0.19
|
|
org.cometd.java:cometd-java-server-common
|
Maven |
≥ 8.0.0
< 8.0.9
|
8.0.9
|
References
Frequently Asked Questions
What is CVE-2025-53114?
Which Cometd java server common versions are affected?
What version fixes CVE-2025-53114?
Is cometd-java-server-common affected?
What is the CVSS score of CVE-2025-53114?
What CWE is associated with CVE-2025-53114?
How can I check Maven dependencies for CVE-2025-53114?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cqgj-h8vf-4w59",
"modified" : "2026-06-10T16:46:28Z",
"published" : "2026-06-10T16:46:28Z",
"aliases" : [ "CVE-2025-53114" ],
"summary" : "Acknowledgement extension out of memory",
"details" : "### Impact\nBad clients that always send a fixed batch value while the server is using the acknowledgement extension can cause the unacknowledged message queue to grow indefinitely, eventually resulting in an OutOfMemoryError.\n\nSuch bad clients would always send:\n\n```json\n{\n \"channel\": \"/meta/connect\",\n ...\n \"ext\": { \"ack\": 1 }\n}\n```\n\nThe server would never clear the unacknowledged message queue, and one bad client can cause a server outage.\n\n### Patches\n5.0.x - https://github.com/cometd/cometd/pull/2168\n6.0.x - https://github.com/cometd/cometd/pull/2169\n8.0.x - https://github.com/cometd/cometd/pull/2118\n\n### Workarounds\nDisable the acknowledgement extension.\n\n### Resources\nhttps://github.com/cometd/cometd/discussions/2116\nhttps://github.com/cometd/cometd/issues/2117",
"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" : "org.cometd.java:cometd-java-server-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.23"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.0.22"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cometd.java:cometd-java-server-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.19"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.0.18"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cometd.java:cometd-java-server-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.0.19"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.0.18"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cometd.java:cometd-java-server-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.0.9"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 8.0.8"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cometd/cometd/security/advisories/GHSA-cqgj-h8vf-4w59"
}, {
"type" : "WEB",
"url" : "https://github.com/cometd/cometd/issues/2117"
}, {
"type" : "WEB",
"url" : "https://github.com/cometd/cometd/pull/2118"
}, {
"type" : "WEB",
"url" : "https://github.com/cometd/cometd/pull/2168"
}, {
"type" : "WEB",
"url" : "https://github.com/cometd/cometd/pull/2169"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cometd/cometd"
}, {
"type" : "WEB",
"url" : "https://github.com/cometd/cometd/discussions/2116"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-10T16:46:28Z",
"nvd_published_at" : null
}
}