CVE-2026-14587: CWE-130 Improper handling of length parameter inconsistency in neo4j Enterprise Edition
Neo4j's Bolt modern handshake decoder treats an overlong capability bit mask the same way it treats a truncated bit mask. When an unauthenticated client sends a selected protocol version followed by 32 continuation bytes in the capability mask, the decoder resets the reader index and waits for more bytes instead of rejecting the protocol message and closing the channel. Because the same unread bytes remain at the front of the decoder buffer, appending a terminating byte later does not recover the connection. The decoder re-reads the same first 32 continuation bytes, returns without producing a handshake-finalization message, and leaves the channel open. This can be triggered before authentication by any client that can reach the Bolt connector.
AI Analysis
Technical Summary
The vulnerability arises from Neo4j Enterprise Edition's Bolt modern handshake decoder treating an overlong capability bit mask the same as a truncated bit mask. When an unauthenticated client sends a selected protocol version followed by 32 continuation bytes in the capability mask, the decoder resets the reader index and waits for additional bytes instead of rejecting the message and closing the channel. This causes the same unread bytes to remain at the front of the decoder buffer, preventing recovery of the connection even if a terminating byte is appended later. The decoder repeatedly re-reads the same bytes, returns without producing a handshake-finalization message, and leaves the channel open. This can be triggered before authentication by any client able to reach the Bolt connector.
Potential Impact
The vulnerability can cause the Bolt handshake decoder to enter a state where it indefinitely waits for more data without closing the connection, effectively causing a denial of service by leaving the channel open and unresponsive. There is no indication of privilege escalation, data disclosure, or code execution from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restricting access to the Bolt connector to trusted clients only may reduce exposure.
CVE-2026-14587: CWE-130 Improper handling of length parameter inconsistency in neo4j Enterprise Edition
Description
Neo4j's Bolt modern handshake decoder treats an overlong capability bit mask the same way it treats a truncated bit mask. When an unauthenticated client sends a selected protocol version followed by 32 continuation bytes in the capability mask, the decoder resets the reader index and waits for more bytes instead of rejecting the protocol message and closing the channel. Because the same unread bytes remain at the front of the decoder buffer, appending a terminating byte later does not recover the connection. The decoder re-reads the same first 32 continuation bytes, returns without producing a handshake-finalization message, and leaves the channel open. This can be triggered before authentication by any client that can reach the Bolt connector.
CVSS v4.0
Score 5.5medium
Affected software
neo4j
Enterprise Edition
neo4j
Community Edition
pkg:github/neo4jRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from Neo4j Enterprise Edition's Bolt modern handshake decoder treating an overlong capability bit mask the same as a truncated bit mask. When an unauthenticated client sends a selected protocol version followed by 32 continuation bytes in the capability mask, the decoder resets the reader index and waits for additional bytes instead of rejecting the message and closing the channel. This causes the same unread bytes to remain at the front of the decoder buffer, preventing recovery of the connection even if a terminating byte is appended later. The decoder repeatedly re-reads the same bytes, returns without producing a handshake-finalization message, and leaves the channel open. This can be triggered before authentication by any client able to reach the Bolt connector.
Potential Impact
The vulnerability can cause the Bolt handshake decoder to enter a state where it indefinitely waits for more data without closing the connection, effectively causing a denial of service by leaving the channel open and unresponsive. There is no indication of privilege escalation, data disclosure, or code execution from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restricting access to the Bolt connector to trusted clients only may reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Neo4j
- Date Reserved
- 2026-07-03T12:01:33.324Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a736b5ebf8831d5392da410
Added to database: 08/05/2026, 16:57:02 UTC
Last enriched: 08/05/2026, 17:46:41 UTC
Last updated: 09/18/2026, 10:01:29 UTC
Views: 43
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.