Skip to content
OpenAdvisories
High · 7.5 CVE-2025-53114 EUVD-2025-210284GHSA-cqgj-h8vf-4w59

CometD has acknowledgement extension out of memory

Published Jun 18, 2026 · Updated Jun 18, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
cometd cometd >= 5.0.0, < 5.0.23, >= 6.0.0, < 6.0.19, >= 7.0.0, < 7.0.19, >= 8.0.0, < 8.0.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.cometd.java:cometd-java-server-common >= 5.0.0, < 5.0.23 5.0.23 GHSA-cqgj-h8vf-4w59
Maven org.cometd.java:cometd-java-server-common >= 6.0.0, < 6.0.19 6.0.19 GHSA-cqgj-h8vf-4w59
Maven org.cometd.java:cometd-java-server-common >= 7.0.0, < 7.0.19 7.0.19 GHSA-cqgj-h8vf-4w59
Maven org.cometd.java:cometd-java-server-common >= 8.0.0, < 8.0.9 8.0.9 GHSA-cqgj-h8vf-4w59

References