Vulnerability · Published Sep 12, 2025 · Assigned by curl

CVE-2025-10148predictable WebSocket mask

Medium 5.3

In plain English

A medium-severity security flaw in curl from curl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 55.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl8.14.1-r2ALPINE-CVE-2025-10148
Alpine:v3.21curl8.14.1-r2ALPINE-CVE-2025-10148
Alpine:v3.22curl8.14.1-r2ALPINE-CVE-2025-10148
Alpine:v3.23curl8.16.0-r0ALPINE-CVE-2025-10148
Alpine:v3.24curl8.16.0-r0ALPINE-CVE-2025-10148
Debian:12curl7.88.1-10+deb12u15DEBIAN-CVE-2025-10148
Debian:13curl8.14.1-2+deb13u1DEBIAN-CVE-2025-10148
Debian:14curl8.16.0-1DEBIAN-CVE-2025-10148
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.22USN-8062-1
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.7USN-8062-1
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.7UBUNTU-CVE-2025-10148
Ubuntu:25.10curl8.14.1-2ubuntu1.1USN-8062-1
Ubuntu:25.10curl8.14.1-2ubuntu1.1UBUNTU-CVE-2025-10148

Affected products (as reported)

VendorProductVersions
curl curl 8.11.0 – before 8.14.28.15.0 – before 8.16.0
curl curl d78e129d50b2d190f1c1bde2ad1f62f02f152db0 – before 84db7a9eae8468c0445b15aa806fa7fa806fa0f2
curl curl 8.15.08.14.18.14.08.13.08.12.18.12.08.11.18.11.0

Weakness: CWE-340 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References