{"id":"CVE-2025-53114","aliases":["EUVD-2025-210284","GHSA-cqgj-h8vf-4w59"],"status":"published","title":"CometD has acknowledgement extension out of memory","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00684,"percentile":0.5301,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2026-06-10T16:46:28Z","modified":"2026-10-28T02:30:39Z","fixes":[{"ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","fixed_in":["5.0.23","6.0.19","7.0.19","8.0.9"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"last_affected":"5.0.22"},{"fixed":"5.0.23"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"last_affected":"6.0.18"},{"fixed":"6.0.19"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"last_affected":"7.0.18"},{"fixed":"7.0.19"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"last_affected":"8.0.8"},{"fixed":"8.0.9"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.0.23"}]}],"versions":["5.0.0","5.0.1","5.0.10","5.0.11","5.0.12","5.0.13","5.0.14","5.0.15","5.0.16","5.0.17","5.0.18","5.0.19","5.0.2","5.0.20","5.0.21","5.0.22","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8","5.0.9"]},{"source":"osv","ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.19"}]}],"versions":["6.0.0","6.0.1","6.0.10","6.0.11","6.0.12","6.0.13","6.0.14","6.0.15","6.0.16","6.0.17","6.0.18","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.0.8","6.0.9"]},{"source":"osv","ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.19"}]}],"versions":["7.0.0","7.0.1","7.0.10","7.0.11","7.0.12","7.0.13","7.0.14","7.0.15","7.0.16","7.0.17","7.0.18","7.0.2","7.0.3","7.0.4","7.0.5","7.0.6","7.0.7","7.0.8","7.0.9"]},{"source":"osv","ecosystem":"Maven","package":"org.cometd.java:cometd-java-server-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"8.0.9"}]}],"versions":["8.0.0","8.0.1","8.0.2","8.0.3","8.0.4","8.0.5","8.0.6","8.0.7","8.0.8"]}],"products":[{"vendor":"cometd","product":"cometd"}],"references":[{"url":"https://github.com/cometd/cometd/security/advisories/GHSA-cqgj-h8vf-4w59","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/cometd/cometd/issues/2117","tags":["x_refsource_MISC","report","web"]},{"url":"https://github.com/cometd/cometd/pull/2118","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/cometd/cometd/pull/2168","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/cometd/cometd/pull/2169","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/cometd/cometd/discussions/2116","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/advisories/GHSA-cqgj-h8vf-4w59"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53114.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53114","tags":["advisory"]},{"url":"https://github.com/cometd/cometd","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-53114","title":"CometD has acknowledgement extension out of memory","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.","status":"published","published":"2026-06-18T16:25:47.388Z","modified":"2026-06-18T17:33:39.552Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:32:49.180768Z"}],"euvd":[{"id":"EUVD-2025-210284","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.","status":"published","published":"2026-06-18T16:25:47Z","modified":"2026-06-18T17:33:39Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T18:20:36.276608Z"}],"ghsa":[{"id":"GHSA-cqgj-h8vf-4w59","title":"Acknowledgement extension out of memory","description":"### 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","status":"published","published":"2026-06-10T16:46:28Z","modified":"2026-06-10T16:46:31Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:40:24.856614Z"}],"nvd":[{"id":"CVE-2025-53114","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.","status":"published","published":"2026-06-18T17:16:27.15Z","modified":"2026-10-12T22:10:00.247Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:12:02.535029Z"}],"osv":[{"id":"CVE-2025-53114","title":"CometD has acknowledgement extension out of memory","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.","status":"published","published":"2026-06-18T16:25:47.388Z","modified":"2026-10-28T02:30:39.89402774Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:44:50.45326Z"},{"id":"GHSA-cqgj-h8vf-4w59","title":"Acknowledgement extension out of memory","description":"### 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","status":"published","published":"2026-06-10T16:46:28Z","modified":"2026-06-10T17:11:27.329206Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:45.28161Z"}]}}
