Vulnerabilities in pkg:maven/org.cometd.java/cometd-java-server-common

PACKAGE
Advisory Identifier: GHSA-cqgj-h8vf-4w59
Advisory Summary

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

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.cometd.java/cometd-java-server-common

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.cometd.java/cometd-java-server-common. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-cqgj-h8vf-4w59 CVE-2025-53114 HIGH Acknowledgement extension out of memory

CVE-2025-53114 at a Glance

CVE Identifier CVE-2025-53114
GHSA Identifier GHSA-cqgj-h8vf-4w59
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Cometd java server common
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-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.

org.cometd.java:cometd-java-server-common fixed: 5.0.23
<dependency>
    <groupId>org.cometd.java</groupId>
    <artifactId>cometd-java-server-common</artifactId>
    <version>5.0.23</version>
</dependency>
org.cometd.java:cometd-java-server-common fixed: 6.0.19
<dependency>
    <groupId>org.cometd.java</groupId>
    <artifactId>cometd-java-server-common</artifactId>
    <version>6.0.19</version>
</dependency>
org.cometd.java:cometd-java-server-common fixed: 7.0.19
<dependency>
    <groupId>org.cometd.java</groupId>
    <artifactId>cometd-java-server-common</artifactId>
    <version>7.0.19</version>
</dependency>
org.cometd.java:cometd-java-server-common fixed: 8.0.9
<dependency>
    <groupId>org.cometd.java</groupId>
    <artifactId>cometd-java-server-common</artifactId>
    <version>8.0.9</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=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

### Impact Bad 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. Such bad clients would always send: ```json { "channel": "/meta/connect", ... "ext": { "ack": 1 } } ``` The server would never clear the unacknowledged message queue, and one bad client can cause a server outage. ### Patches 5.0.x - https://github.com/cometd/cometd/pull/2168 6.0.x - https://github.com/cometd/cometd/pull/2169 8.0.x - https://github.com/cometd/cometd/pull/2118 ### Workarounds Disable the acknowledgement extension. ### Resources https://github.com/cometd/cometd/discussions/2116 https://github.com/cometd/cometd/issues/2117

CVE-2025-53114 Affected Cometd java server common Versions

4 component(s)
Fixed Versions:
5.0.236.0.197.0.198.0.9
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?
CVE-2025-53114 is a security vulnerability in Cometd java server common involving Acknowledgement extension out of memory under CWE-400: Uncontrolled Resource Consumption.
Which Cometd java server common versions are affected?
Affected versions include releases prior to 5.0.23, 6.0.19, 7.0.19, 8.0.9 across affected packages: org.cometd.java:cometd-java-server-common.
What version fixes CVE-2025-53114?
Upgrading to 5.0.23, 6.0.19, 7.0.19, 8.0.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cometd-java-server-common affected?
Yes, org.cometd.java:cometd-java-server-common is affected in releases prior to 5.0.23, 6.0.19, 7.0.19, 8.0.9. Upgrade your dependency to 5.0.23, 6.0.19, 7.0.19, 8.0.9 or later.
What is the CVSS score of CVE-2025-53114?
CVE-2025-53114 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-53114?
CVE-2025-53114 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Maven dependencies for CVE-2025-53114?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.cometd.java'. 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-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
  }
}