CVE-2025-10148
CVE-2025-10148 · predictable WebSocket mask
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.3 · Medium · EPSS 0.5% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
curl
- Versions
- ≥ 8.11.0, < 8.14.2: Affected (semver)
- ≥ 8.15.0, < 8.16.0: Affected (semver)
Update to 8.14.2; Update to 8.16.0
curl
- Versions
- ≥ d78e129d50b2d190f1c1bde2ad1f62f02f152db0, < 84db7a9eae8468c0445b15aa806fa7fa806fa0f2: Affected (git)
No fix published
curl
- Versions
- 8.15.0: Affected
- 8.14.1: Affected
- 8.14.0: Affected
- 8.13.0: Affected
- 8.12.1: Affected
- 8.12.0: Affected
- 8.11.1: Affected
- 8.11.0: Affected
No fix published
curl Debian:12
- Versions
- 7.88.1-10
- 7.88.1-10+deb12u1
- 7.88.1-10+deb12u11
- 7.88.1-10+deb12u12
- 7.88.1-10+deb12u13
- 7.88.1-10+deb12u14
- 7.88.1-10+deb12u1~bpo11+1
- 7.88.1-10+deb12u2
- 7.88.1-10+deb12u3
- 7.88.1-10+deb12u3~bpo11+1
- 7.88.1-10+deb12u4
- 7.88.1-10+deb12u5
- 7.88.1-10+deb12u5~bpo11+1
- 7.88.1-10+deb12u6
- 7.88.1-10+deb12u6~bpo11+1
- 7.88.1-10+deb12u7
- 7.88.1-10+deb12u8
- 7.88.1-10+deb12u9
- Affected ranges
- ECOSYSTEM: < 7.88.1-10+deb12u15
Update to 7.88.1-10+deb12u15
curl Debian:13
- Versions
- 8.14.1-2
- Affected ranges
- ECOSYSTEM: < 8.14.1-2+deb13u1
Update to 8.14.1-2+deb13u1
curl Debian:14
- Versions
- 8.14.1-2
- 8.14.1-2+exp1
- 8.15.0-1
- 8.15.0-1~bpo13+1
- 8.15.0-1~exp1
- 8.15.0~rc1-1exp1
- 8.15.0~rc2-1~exp1
- 8.15.0~rc3-1~exp1
- 8.16.0-1~bpo13+1
- 8.16.0~rc1-1~exp1
- 8.16.0~rc2-1
- 8.16.0~rc2-2
- 8.16.0~rc3-1
- Affected ranges
- ECOSYSTEM: < 8.16.0-1
Update to 8.16.0-1
curl Ubuntu:24.04:LTS
- Versions
- 8.2.1-1ubuntu3
- 8.2.1-1ubuntu3.1
- 8.4.0-2ubuntu1
- 8.5.0-2ubuntu1
- 8.5.0-2ubuntu2
- 8.5.0-2ubuntu8
- 8.5.0-2ubuntu9
- 8.5.0-2ubuntu10
- 8.5.0-2ubuntu10.1
- 8.5.0-2ubuntu10.2
- 8.5.0-2ubuntu10.3
- 8.5.0-2ubuntu10.4
- 8.5.0-2ubuntu10.5
- 8.5.0-2ubuntu10.6
- Affected ranges
- ECOSYSTEM: < 8.5.0-2ubuntu10.7
Update to 8.5.0-2ubuntu10.7
curl Ubuntu:25.10
- Versions
- 8.12.1-3ubuntu1
- 8.13.0-5ubuntu1
- 8.14.1-1ubuntu2
- 8.14.1-1ubuntu3
- 8.14.1-2ubuntu1
- Affected ranges
- ECOSYSTEM: < 8.14.1-2ubuntu1.1
Update to 8.14.1-2ubuntu1.1
Original sources
- https://curl.se/docs/CVE-2025-10148.json
- https://curl.se/docs/CVE-2025-10148.html
- https://hackerone.com/reports/3330839
- http://www.openwall.com/lists/oss-security/2025/09/10/2
- http://www.openwall.com/lists/oss-security/2025/09/10/3
- http://www.openwall.com/lists/oss-security/2025/09/10/4
- https://nvd.nist.gov/vuln/detail/CVE-2025-10148