CVE-2025-10148

predictable WebSocket mask

State
Published
Severity
5.3 Medium
Published
Sep 12, 2025
Updated
Sep 15, 2026
Reserved
Sep 9, 2025

Read the record on cve.org

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

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NCISA-ADP

Weaknesses

  • CWE-340 Generation of Predictable Numbers or Identifiers

Affected Products

ProductVersions
curlcurl
  • 8.11.0 to before 8.14.2Affected
  • 8.15.0 to before 8.16.0Affected
curlcurl
  • d78e129d50b2d190f1c1bde2ad1f62f02f152db0 to before 84db7a9eae8468c0445b15aa806fa7fa806fa0f2Affected
curlcurl
  • 8.15.0Affected
  • 8.14.1Affected
  • 8.14.0Affected
  • 8.13.0Affected
  • 8.12.1Affected
  • 8.12.0Affected
  • 8.11.1Affected
  • 8.11.0Affected

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.