{"id":"CVE-2025-53114","aliases":["CVE-2025-53114","GHSA-cqgj-h8vf-4w59"],"related":[],"kind":"vulnerability","state":"published","title":"CometD has acknowledgement extension out of memory","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"},{"lang":"es","text":"CometD es una implementación comet escalable para mensajería web. En las versiones 5.0.0 a 5.0.22, 6.0.0 a 6.0.18, 7.0.0 a 7.0.18 y 8.0.0 a 8.0.8, los clientes defectuosos que siempre envían un valor de lote fijo cuando el servidor está utilizando la extensión de acuse de recibo pueden hacer que la cola de mensajes no reconocidos crezca indefinidamente, lo que eventualmente causa un 'OutOfMemoryError'. Las versiones 5.0.23, 6.0.19, 7.0.19 y 8.0.9 parchean el problema. Como solución alternativa, deshabilite la extensión de acuse de recibo.","source":"nvd"}],"published":"2026-06-10T16:46:28.000Z","modified":"2026-10-12T22:10:00.247Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":">= 5.0.0, < 5.0.23","status":"affected"},{"version":">= 6.0.0, < 6.0.19","status":"affected"},{"version":">= 7.0.0, < 7.0.19","status":"affected"},{"version":">= 8.0.0, < 8.0.9","status":"affected"}],"vendor":"cometd","product":"cometd","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.23"}],"ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","purl":"pkg:maven/org.cometd.java/cometd-java-server-common","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.0.19"}],"ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","purl":"pkg:maven/org.cometd.java/cometd-java-server-common","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.0.19"}],"ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","purl":"pkg:maven/org.cometd.java/cometd-java-server-common","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.0.9"}],"ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","purl":"pkg:maven/org.cometd.java/cometd-java-server-common","source":"ghsa"}],"references":[{"url":"https://github.com/cometd/cometd/security/advisories/GHSA-cqgj-h8vf-4w59","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cometd/cometd/issues/2117","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cometd/cometd/pull/2118","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cometd/cometd/pull/2168","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cometd/cometd/pull/2169","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cometd/cometd/discussions/2116","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cometd/cometd","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-18T17:30:58.888Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-53114","url":"https://www.cve.org/CVERecord?id=CVE-2025-53114","licence":"CVE Terms of Use","modified":"2026-06-18T17:33:39.552Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cqgj-h8vf-4w59","url":"https://github.com/advisories/GHSA-cqgj-h8vf-4w59","licence":"CC-BY-4.0","modified":"2026-06-10T17:11:27.329Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-53114","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53114","licence":"Public domain","modified":"2026-10-12T22:10:00.247Z"}],"updatedAt":"2026-11-25T22:59:12.332Z","epss":{"score":0.00384,"percentile":0.3458,"date":"2026-12-01T12:00:22.000Z"}}