CVE-2025-10148
predictable WebSocket mask
- State
- Published
- Severity
- 5.3 Medium
- Published
- Sep 12, 2025
- Updated
- Sep 15, 2026
- Reserved
- Sep 9, 2025
Description
curl's WebSocket code did not update the 32-bit mask pattern for each new outgoing frame as the specification says. Instead it used a fixed mask that persisted and was used throughout the entire connection.
A predictable mask pattern allows for a malicious server to induce traffic between the two communicating parties that could be interpreted by an involved proxy (configured or transparent) as genuine, real, HTTP traffic with content and thereby poison its cache. That cached poisoned content could then be served to all users of that proxy.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | CISA-ADP |
Weaknesses
- CWE-340 Generation of Predictable Numbers or Identifiers
Affected Products
| Product | Versions |
|---|---|
curlcurl |
|
curlcurl |
|
curlcurl |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.