---
id: CVE-2025-53114
title: CometD is a scalable comet implementation for web messaging
summary: >-
  CometD is a scalable comet implementation for web messaging. In versions 5.0.0
  through 5.0.22, 6.0.0 through 6.0.18, 7.0.0 through 7.0.18, and 8.0.0 through
  8.0.8, bad clients that always send a fixed batch value when the server is
  using…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
vendor: cometd
product: 'org.cometd.java:cometd-java-server-common'
affected:
  - 'org.cometd.java:cometd-java-server-common >= 5.0.0, <= 5.0.22'
  - 'org.cometd.java:cometd-java-server-common >= 6.0.0, <= 6.0.18'
  - 'org.cometd.java:cometd-java-server-common >= 7.0.0, <= 7.0.18'
  - 'org.cometd.java:cometd-java-server-common >= 8.0.0, <= 8.0.8'
patched:
  - 'org.cometd.java:cometd-java-server-common 5.0.23'
  - 'org.cometd.java:cometd-java-server-common 6.0.19'
  - 'org.cometd.java:cometd-java-server-common 7.0.19'
  - 'org.cometd.java:cometd-java-server-common 8.0.9'
published: '2026-06-18'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T22:10:00.247'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-53114'
references:
  - url: 'https://github.com/cometd/cometd/discussions/2116'
    label: security-advisories@github.com
  - url: 'https://github.com/cometd/cometd/issues/2117'
    label: security-advisories@github.com
  - url: 'https://github.com/cometd/cometd/pull/2118'
    label: security-advisories@github.com
  - url: 'https://github.com/cometd/cometd/pull/2168'
    label: security-advisories@github.com
  - url: 'https://github.com/cometd/cometd/pull/2169'
    label: security-advisories@github.com
  - url: 'https://github.com/cometd/cometd/security/advisories/GHSA-cqgj-h8vf-4w59'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-cqgj-h8vf-4w59'
tags:
  - nvd
  - ghsa
  - maven
epss: 0.00684
epssPercentile: 0.52374
aliases:
  - GHSA-cqgj-h8vf-4w59
ecosystem: maven
ingestedAt: '2026-07-07T15:41:59.561Z'
---

## Overview

CometD is a scalable comet implementation for web messaging. In versions 5.0.0 through 5.0.22, 6.0.0 through 6.0.18, 7.0.0 through 7.0.18, and 8.0.0 through 8.0.8, bad clients that always send a fixed batch value when the server is using the acknowledgement extension may cause the unacknowledged message queue to grow indefinitely, eventually causing an `OutOfMemoryError`. Versions 5.0.23, 6.0.19, 7.0.19, and 8.0.9 patch the issue. As a workaround, disable the acknowledgement extension.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2025-53114)

Affected packages:

- `org.cometd.java:cometd-java-server-common >= 5.0.0, <= 5.0.22`
- `org.cometd.java:cometd-java-server-common >= 6.0.0, <= 6.0.18`
- `org.cometd.java:cometd-java-server-common >= 7.0.0, <= 7.0.18`
- `org.cometd.java:cometd-java-server-common >= 8.0.0, <= 8.0.8`

Patched in:

- `org.cometd.java:cometd-java-server-common 5.0.23`
- `org.cometd.java:cometd-java-server-common 6.0.19`
- `org.cometd.java:cometd-java-server-common 7.0.19`
- `org.cometd.java:cometd-java-server-common 8.0.9`

Source: https://github.com/advisories/GHSA-cqgj-h8vf-4w59
