Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cryptpad-cve-2025-51846-advisory — Sanitized advisory for CVE-2025-51846 affecting CryptPad WebSocket handling. | Kitploit
Tools/GitHubGitHub/johnperifanis/cryptpad-cve-2025-51846-advisory
Vulnerability AnalysisWeb SecurityPapers & ResearchLearning & Education
GitHubjohnperifanis/cryptpad-cve-2025-51846-advisory

cryptpad-cve-2025-51846-advisory

Sanitized advisory for CVE-2025-51846 affecting CryptPad WebSocket handling.

View Repository
104 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-51846 – Unbounded WebSocket Frame Flood Enables Remote Denial of Service

Severity: High (CVSS 7.5)
CWE: 400 – Uncontrolled Resource Consumption (Resource Exhaustion), CWE: CWE-770 – Allocation of Resources Without Limits or Throttling Status: Fixed
Confirmed affected: CryptPad 2025.3.1
Affected range in CSAF draft: >=2025.3.1, <2026.2.1
Fixed version note: The coordinator draft currently references 2026.2.1. CryptPad later indicated that 2026.2.2 is the actual good bugfix release due to a version issue in 2026.2.1. Operators should confirm the final fixed version in the published CISA advisory and CryptPad release notes.

image

Summary

CryptPad’s WebSocket implementation enforced limits on individual frames but did not sufficiently enforce cumulative limits on the amount of data and number of fragments processed per connection.

Under RFC 6455, a WebSocket message can be split across multiple frames. In affected versions, repeated valid frames or fragmented messages could cause excessive server-side resource consumption.

A remote unauthenticated attacker could exploit this behavior to degrade or deny service for legitimate users. In testing, this resulted in high CPU and memory usage, an unresponsive CryptPad UI, failed document/session loading, and service termination under high load.

image

Technical Details

The issue is caused by insufficient cumulative resource accounting in the WebSocket processing path. While individual frames may be subject to size checks, the server still processes repeated valid frames or fragments without an effective cumulative per-connection limit.

In lab testing, several non-malicious-looking WebSocket traffic patterns were used to validate the issue:

  1. repeated valid frames below the per-frame threshold,
  2. fragmented messages split across many continuation frames,
  3. parallel WebSocket connections sending high-volume traffic.

These tests demonstrated that CryptPad continued to consume resources while processing traffic that individually appeared valid. Under heavier lab load, the service became unavailable and system logs showed process termination due to memory exhaustion.

Full stress-test scripts are not published to avoid enabling abuse against production CryptPad instances.

image

Proof of Concept

This advisory intentionally includes only a non-weaponized description of the reproduction approach.

At a high level, the issue can be reproduced in a controlled lab by:

  1. starting a vulnerable CryptPad instance,
  2. opening one or more WebSocket connections,
  3. sending repeated valid frames or fragmented messages that remain individually valid,
  4. observing cumulative CPU and memory consumption,
  5. confirming that legitimate users experience service degradation or loss of availability.

No public exploit or flood script is included.

image

Impact

An attacker can therefore open a WebSocket connection and send hundreds or even thousands of frames (each within the allowed size limit), until the server has buffered and processed an enormous amount of data. Even though each frame by itself looks 'legal', the cumulative effect is that the server’s memory and CPU get consumed processing every fragment.

A remote unauthenticated attacker may:

  • render CryptPad unusable for legitimate clients
  • force high CPU/memory usage
  • crash the service
  • cause recurring unavailability in container-orchestrated deployments

image

Affected Versions

  • Confirmed affected: CryptPad 2025.3.1, tested in a controlled self-hosted environment.
  • Coordinator draft affected range: >=2025.3.1, <2026.2.1
  • Fix reference: CryptPad PR #2239, commit 1e0c06ad8a0c5dab795f85f9730ec2693320c62e
  • Fixed version note: The CSAF draft references 2026.2.1, while CryptPad later stated in VINCE that 2026.2.2 is the actual corrected release due to a version issue in 2026.2.1. Operators should follow the final CISA CSAF/CVE record and CryptPad release notes.

image

Mitigation

Operators should upgrade to the fixed CryptPad release identified in the final CISA advisory and CryptPad release notes.

Additional defense-in-depth mitigations include:

  • reverse-proxy rate limiting for WebSocket endpoints,
  • per-IP connection limits,
  • cumulative per-connection byte/frame limits,
  • monitoring for abnormal WebSocket traffic,
  • service-level resource limits and alerting.

image

Vendor Position

CryptPad acknowledged the denial-of-service condition. The vendor stated that countermeasures had already been implemented on the nginx side for the flagship instance and that additional changes were being added to the example configuration and server logic. CryptPad also referenced a broader server refactor intended to include these countermeasures.

CryptPad later provided PR #2239 as the public fix reference and indicated that the corrected bugfix release is 2026.2.2, following a version issue in 2026.2.1.

image

Researcher Assessment

This issue is correctly classified as a high-severity denial-of-service vulnerability. The attack does not require authentication and can cause full service unavailability by exhausting server resources through valid WebSocket traffic patterns.

image

Disclosure Notes

Testing was performed only in controlled environments. This advisory does not include weaponized flood scripts or complete reproduction tooling.

image

👤 Researcher

John Perifanis
Security Researcher
Contact: https://www.linkedin.com/in/ioannis-p-9081842b9

Download Tool