Goroutine Leak in Abacus SSE Implementation
Abacus is a highly scalable and stateless counting API. A critical goroutine leak vulnerability has been identified in the Abacus server's Server-Sent Events (SSE) implementation. The issue occurs when clients disconnect from the /stream endpoint, as the server fails to properly clean up resources and terminate associated goroutines. This leads to resource exhaustion where the server continues running but eventually stops accepting new SSE connections while maintaining high memory usage. The vulnerability specifically involves improper channel cleanup in the event handling mechanism, causing goroutines to remain blocked indefinitely. This vulnerability is fixed in 1.4.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-27421
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:48 UTC · Revision 1
Source evidence
Goroutine Leak in Abacus SSE Implementation
core-osv · Original sourcePublished 3 Mar 2025, 16:19 UTC
Abacus is a highly scalable and stateless counting API. A critical goroutine leak vulnerability has been identified in the Abacus server's Server-Sent Events (SSE) implementation. The issue occurs when clients disconnect from the /stream endpoint, as the server fails to properly clean up resources and terminate associated goroutines. This leads to resource exhaustion where the server continues running but eventually stops accepting new SSE connections while maintaining high memory usage. The vulnerability specifically involves improper channel cleanup in the event handling mechanism, causing goroutines to remain blocked indefinitely. This vulnerability is fixed in 1.4.0.
osv:CVE-2025-27421
Complete source record
{
"id": "da50caa75d26a8735f75b2a5fd8289afc521f8104be93a8b85ed6f0df2d990fe",
"url": "https://osv.dev/vulnerability/CVE-2025-27421",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Goroutine Leak in Abacus SSE Implementation",
"summary": "Abacus is a highly scalable and stateless counting API. A critical goroutine leak vulnerability has been identified in the Abacus server's Server-Sent Events (SSE) implementation. The issue occurs when clients disconnect from the /stream endpoint, as the server fails to properly clean up resources and terminate associated goroutines. This leads to resource exhaustion where the server continues running but eventually stops accepting new SSE connections while maintaining high memory usage. The vulnerability specifically involves improper channel cleanup in the event handling mechanism, causing goroutines to remain blocked indefinitely. This vulnerability is fixed in 1.4.0.",
"evidence": "osv:CVE-2025-27421",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-27421",
"aliases": [
"CVE-2025-27421",
"GHSA-vh64-54px-qgf8",
"GO-2025-3498"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jasonlovesdoggo/abacus",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "898ff1204e11317cc161240b660e63eed5a72b33"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "898ff1204e11317cc161240b660e63eed5a72b33"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27421.json"
}
}
],
"modified": "2026-10-28T02:30:24.550413414Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27421.json",
"https://github.com/JasonLovesDoggo/abacus/security/advisories/GHSA-vh64-54px-qgf8",
"https://nvd.nist.gov/vuln/detail/CVE-2025-27421",
"https://github.com/JasonLovesDoggo/abacus/commit/898ff1204e11317cc161240b660e63eed5a72b33"
],
"provider_metadata": {
"cwe_ids": [
"CWE-400",
"CWE-772"
],
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "1.4.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "1.4.0"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27421.json"
}
},
"related_cves": [
{
"value": "CVE-2025-27421",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490973,
"published_at": "2025-03-03T16:19:23.914+00:00"
}