Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp: Unbounded header buffer in STOMP NIO codec
Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp. An unauthenticated client that opens a STOMP NIO connection can send header bytes that never terminate which makes the broker buffer them without limit, exhausting the JVM heap. This issue affects Apache ActiveMQ: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ All: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ Stomp: before 5.19.8, from 6.0.0 before 6.2.7. Users are recommended to upgrade to version 6.2.7 or 5.19.8, which fixes the issue.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-53916
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:24 UTC · Revision 1
Source evidence
Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp: Unbounded header buffer in STOMP NIO codec
core-osv · Original sourcePublished 30 Jun 2026, 09:49 UTC
Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp. An unauthenticated client that opens a STOMP NIO connection can send header bytes that never terminate which makes the broker buffer them without limit, exhausting the JVM heap. This issue affects Apache ActiveMQ: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ All: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ Stomp: before 5.19.8, from 6.0.0 before 6.2.7. Users are recommended to upgrade to version 6.2.7 or 5.19.8, which fixes the issue.
osv:CVE-2026-53916
Complete source record
{
"id": "668430718e89fd66f5fe2bd1d315296c198650d4687a325baf4321bf79c45634",
"url": "https://osv.dev/vulnerability/CVE-2026-53916",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp: Unbounded header buffer in STOMP NIO codec",
"summary": "Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp. An unauthenticated client that opens a STOMP NIO connection can send header bytes that never terminate which makes the broker buffer them without limit, exhausting the JVM heap. This issue affects Apache ActiveMQ: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ All: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ Stomp: before 5.19.8, from 6.0.0 before 6.2.7. Users are recommended to upgrade to version 6.2.7 or 5.19.8, which fixes the issue.",
"evidence": "osv:CVE-2026-53916",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-53916",
"aliases": [
"BIT-activemq-2026-53916",
"CVE-2026-53916"
],
"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/apache/activemq",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "7d56ebc8e04dd0a2a14545cfa05883f9bdba72a2"
},
{
"introduced": "14bac13f40958c1a1d3d198051eed32facc4abd1"
},
{
"fixed": "f3e61919b374ee5b124f80458334c314fc2cb29d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.19.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.2.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"activemq-6.2.1",
"activemq-5.19.2",
"activemq-6.2.0",
"activemq-5.19.1",
"activemq-5.19.0",
"activemq-5.18.6",
"activemq-5.18.5",
"activemq-6.1.2",
"activemq-5.18.4",
"activemq-6.1.1",
"activemq-6.1.0",
"activemq-6.0.0",
"activemq-5.18.3",
"activemq-5.18.2",
"activemq-5.18.1",
"activemq-5.18.0",
"activemq-5.16.0",
"activemq-5.15.0",
"activemq-5.14.0",
"activemq-5.13.0",
"activemq-5.12.0",
"activemq-5.11.0",
"activemq-5.10.0",
"activemq-5.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53916.json"
}
}
],
"modified": "2026-10-28T02:30:23.369819222Z",
"provider": "osv",
"references": [
"https://repo.maven.apache.org/maven2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53916.json",
"https://lists.apache.org/thread/07hjsj88hqgsb7vvg6ttsj56ts9vjs5n",
"https://nvd.nist.gov/vuln/detail/CVE-2026-53916"
],
"provider_metadata": {
"cwe_ids": [
"CWE-789"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "5.19.8"
},
{
"introduced": "6.0.0"
},
{
"fixed": "6.2.7"
},
{
"fixed": "5.19.8"
},
{
"introduced": "6.0.0"
},
{
"fixed": "6.2.7"
},
{
"fixed": "5.19.8"
},
{
"introduced": "6.0.0"
},
{
"fixed": "6.2.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53916.json"
}
},
"related_cves": [
{
"value": "CVE-2026-53916",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489803,
"published_at": "2026-06-30T09:49:55.655+00:00"
}