CVE-2025-53114: CometD Denial-of-Service via Unacknowledged Message Queue Overflow
CometD, a web messaging framework used for real-time server-to-client communication, contains a denial-of-service vulnerability in multiple versions. The issue occurs when the server has enabled the acknowledgement extension—a feature that tracks message delivery—and a misbehaving client repeatedly sends the same batch identifier. This causes the server to accumulate unacknowledged messages in memory without ever clearing them, eventually consuming all available heap space and crashing the server. The vulnerability affects versions 5.0.0–5.0.22, 6.0.0–6.0.18, 7.0.0–7.0.18, and 8.0.0–8.0.8. Patches are available for all affected branches.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-400
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-18 / 2026-06-23
NVD description (verbatim)
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.
6 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability stems from improper handling of batch acknowledgement logic in CometD's acknowledgement extension. When a client repeatedly sends HTTP requests with an identical batch value instead of incrementing it as expected, the server's queue management fails to recognize and release acknowledged messages. This allows an attacker to craft a simple exploit: send a request with a static batch ID, forcing the server to queue every message sent to that client without ever removing them from memory. Over time, the unacknowledged message queue grows unbounded, leading to an OutOfMemoryError (CWE-400: Uncontrolled Resource Consumption). The attack requires no authentication or special privilege and can be triggered remotely by a single client, making it a trivial denial of service.
Business impact
A successful exploitation results in complete unavailability of the CometD server. Any organization relying on CometD for real-time notifications, messaging, or push updates will experience service disruption. Since a single unauthenticated client can trigger the condition, malicious actors can launch attacks from public networks without special access. Recovery requires manual server restart, causing data loss if unsaved messages are in flight and operational delay for critical applications that depend on the messaging layer. For SaaS providers or organizations offering CometD-based services, this vulnerability presents a reputational and availability risk.
Affected systems
All CometD deployments in the following version ranges are vulnerable: 5.0.0 through 5.0.22 (legacy LTS branch), 6.0.0 through 6.0.18 (prior stable release), 7.0.0 through 7.0.18 (current stable series), and 8.0.0 through 8.0.8 (latest development branch). Organizations must audit their environment to determine which CometD branch is deployed and cross-reference against the patched versions listed above. Vulnerability only manifests when the acknowledgement extension is explicitly enabled in the server configuration; deployments using alternative message handling strategies are unaffected.
Exploitability
Exploitability is high. The attack requires no authentication, no special client capabilities, and no prior system knowledge. An attacker can craft a minimal HTTP client that sends a single batch ID repeatedly to any publicly accessible CometD endpoint. No user interaction is needed. The barrier to weaponization is extremely low; a proof-of-concept would be trivial to assemble. However, the attack is noisy and detectable: the server logs will show repeated requests from the same source, making it easier to identify and block the attacker once monitoring is in place. The vulnerability does not appear on the CISA Known Exploited Vulnerabilities catalog, but the simplicity of the attack vector suggests exploitation in the wild is plausible if CometD is internet-facing.
Remediation
Immediate action: If you are running CometD with the acknowledgement extension enabled, upgrade to a patched version immediately. Patched versions are 5.0.23, 6.0.19, 7.0.19, and 8.0.9. If you cannot patch immediately, disable the acknowledgement extension in your server configuration as a workaround, though this may require changes to client-side logic. Verify with your CometD documentation or vendor advisory for version-specific upgrade and configuration instructions. After patching, perform a test deployment in a staging environment before rolling out to production.
Patch guidance
CometD has released fixes across all supported branches: upgrade to version 5.0.23 (for the 5.0.x line), 6.0.19 (for 6.0.x), 7.0.19 (for 7.0.x), or 8.0.9 (for 8.0.x). Each patched version addresses the batch acknowledgement handling to prevent unbounded queue growth. Consult the official CometD release notes and security advisories to confirm the exact patch version for your deployment and any breaking changes or dependencies. Test thoroughly in a non-production environment before deploying patches to production systems, especially if CometD is critical to your service availability.
Detection guidance
Monitor CometD server logs for repeated requests from the same source IP with identical or near-identical batch identifiers over short time windows. Set alerts on OutOfMemoryError exceptions and server restarts tied to heap exhaustion. Network monitoring tools can flag high-frequency requests to CometD endpoints that spike unexpectedly. Heap memory consumption graphs are also useful: a sudden, sustained increase in the unacknowledged message queue size is a clear sign of exploitation. Implement rate limiting on the CometD endpoint to throttle clients that send excessive requests, which will mitigate the attack even on unpatched servers.
Why prioritize this
Despite being unpatched, this vulnerability warrants immediate attention due to its high CVSS score (7.5), unauthenticated attack vector, and trivial exploitability. Any internet-facing or untrusted-network CometD instance should be treated as critical. Even internal deployments present operational risk due to the simplicity of the attack. The fix is low-risk and straightforward, making this an easy win for security teams to deploy with minimal testing overhead. Given the absence of complex exploitation barriers, prioritize this alongside other high-severity remote denial-of-service issues.
Risk score, explained
The CVSS 3.1 score of 7.5 (HIGH) reflects a network-accessible denial-of-service vulnerability with no authentication required and no user interaction. The attack vector is unauthenticated (AV:N, AC:L, PR:N, UI:N), making it broadly accessible. The impact is severe availability loss (A:H) but does not compromise confidentiality or integrity. The score appropriately penalizes the ease of exploitation and widespread impact on service availability. Organizations should treat this as a priority fix for any CometD instances exposed to untrusted networks.
Frequently asked questions
Do we need to update all CometD branches, or just the one we use?
Update only the branch you are deployed on, using the specific patched version listed in the remediation section. For example, if you run CometD 7.0.x, upgrade to 7.0.19. You do not need to migrate between major versions unless your organization's roadmap already calls for it. However, review the end-of-life status of your current branch and plan a longer-term upgrade path if you are on an older line (e.g., 5.0.x).
Our CometD deployment is internal and behind a firewall. Are we still at risk?
Yes, but the risk is lower. An insider or any user with network access to the internal CometD service could exploit this vulnerability. If your deployment is truly isolated from any untrusted users or networks, the risk is mitigated by access controls. However, given the ease of patching, it is still recommended to upgrade to close this vector and reduce reliance on network segmentation as a control.
Can we use the acknowledgement extension workaround permanently, or is it just a temporary fix?
The workaround (disabling the acknowledgement extension) is temporary. It will prevent the memory exhaustion attack but may break client-side message acknowledgement logic if your application depends on it. Review your CometD client code to understand whether acknowledgement is essential to your workflow. If it is, patching is the correct long-term solution. If it is not, disabling the extension is acceptable, but plan to upgrade in your next maintenance cycle.
How can we detect if someone is actively exploiting this in our logs?
Look for CometD server logs showing repeated HTTP requests from the same source IP with identical batch values within a short time span. Also monitor heap memory metrics: a rapid, unbounded increase in the unacknowledged message queue size, followed by an OutOfMemoryError, is a strong indicator of exploitation. Enable detailed access logging on your CometD endpoint and set alerts on heap saturation to catch attacks in progress.
This analysis is provided for informational purposes and reflects the vulnerability details available as of the publication date. Security teams should verify patch availability and compatibility with their specific CometD deployment and consult official vendor advisories before applying updates. The absence of a CISA Known Exploited Vulnerabilities listing does not guarantee the vulnerability is not exploited in the wild; organizations should prioritize patching based on their exposure and risk tolerance. No exploit code is provided in this document; all remediation steps should be validated in a controlled environment before production deployment. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2024-14036HIGHDräger Core Denial of Service via Malformed SDC Messages
- CVE-2025-52293HIGHGPAC MP4Box HEVC Parser Denial of Service (CVSS 7.5)
- CVE-2026-10069HIGHShibby Tomato miniupnpd Resource Exhaustion Vulnerability
- CVE-2026-10143HIGHkafka-python SCRAM DoS – Event Loop Freeze Vulnerability
- CVE-2026-12151HIGHundici WebSocket Memory Exhaustion DoS Vulnerability
- CVE-2026-34713HIGHAdobe CAI Content Credentials Denial-of-Service Vulnerability
- CVE-2026-35266HIGHOracle REST Data Services Authentication & Data Integrity Vulnerability
- CVE-2026-35277HIGHOracle REST Data Services Authorization Bypass