CVE-2025-53114: Acknowledgement extension out of memory
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:
{
"channel": "/meta/connect",
...
"ext": { "ack": 1 }
}
The server would never clear the unacknowledged message queue, and one bad client can cause a server outage.
References
- github.com/advisories/GHSA-cqgj-h8vf-4w59
- github.com/cometd/cometd/discussions/2116
- github.com/cometd/cometd/issues/2117
- github.com/cometd/cometd/pull/2118
- github.com/cometd/cometd/pull/2168
- github.com/cometd/cometd/pull/2169
- github.com/cometd/cometd/security/advisories/GHSA-cqgj-h8vf-4w59
- nvd.nist.gov/vuln/detail/CVE-2025-53114
Code Behaviors & Features
Detect and mitigate CVE-2025-53114 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →