CVE-2025-10148predictable WebSocket mask
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | curl | Fixed | 8.14.1-2ubuntu1.1 | UBUNTU-CVE-2025-10148 |
| Ubuntu 24.04 | curl | Fixed | 8.5.0-2ubuntu10.7 | UBUNTU-CVE-2025-10148 |
| Ubuntu 22.04 | curl | Not affected vulnerable_code_not_present | ||
| Debian 14 | curl | Fixed | 8.16.0-1 | DEBIAN-CVE-2025-10148 |
| Debian 13 | curl | Fixed | 8.14.1-2+deb13u1 | DEBIAN-CVE-2025-10148 |
| Debian 12 | curl | Fixed | 7.88.1-10+deb12u15 | DEBIAN-CVE-2025-10148 |
| Red Hat Enterprise Linux 10 | curl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libcurl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libcurl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libcurl-minimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | curl | Not affected | ||
| Red Hat Enterprise Linux 9 | curl-minimal | Not affected | ||
| Red Hat Enterprise Linux 9 | libcurl | Not affected | ||
| Red Hat Enterprise Linux 9 | libcurl-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libcurl-minimal | Not affected | ||
| Red Hat Enterprise Linux 8 | curl | Not affected | ||
| Red Hat Enterprise Linux 8 | libcurl | Not affected | ||
| Red Hat Enterprise Linux 8 | libcurl-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libcurl-minimal | Not affected | ||
| Red Hat Enterprise Linux 7 | curl | Not affected | ||
| Red Hat Enterprise Linux 7 | libcurl | Not affected | ||
| Red Hat Enterprise Linux 7 | libcurl-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | curl | Not affected | ||
| Red Hat Enterprise Linux 6 | libcurl | Not affected | ||
| Red Hat Enterprise Linux 6 | libcurl-devel | Not affected | ||
| Alpine Linux 3.24 | curl | Fixed | 8.16.0-r0 | ALPINE-CVE-2025-10148 |
| Alpine Linux 3.23 | curl | Fixed | 8.16.0-r0 | ALPINE-CVE-2025-10148 |
| Alpine Linux 3.22 | curl | Fixed | 8.14.1-r2 | ALPINE-CVE-2025-10148 |
| Alpine Linux 3.21 | curl | Fixed | 8.14.1-r2 | ALPINE-CVE-2025-10148 |
| Alpine Linux 3.20 | curl | Fixed | 8.14.1-r2 | ALPINE-CVE-2025-10148 |
| Alpine Linux 3.19 | curl | Fixed | 8.14.1-r2 | ALPINE-CVE-2025-10148 |
What the vendor says
As published in the CVE record by curl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- curl: affected: 8.11.0 to before 8.14.2, 8.15.0 to before 8.16.0; fixed in
8.14.2,8.16.0 - curl: affected: d78e129d50b2d190f1c1bde2ad1f62f02f152db0 to before 84db7a9eae8468c0445b15aa806fa7fa806fa0f2; fixed in
84db7a9eae8468c0445b15aa806fa7fa806fa0f2 - curl: affected: 8.15.0, 8.14.1, 8.14.0, 8.13.0, 8.12.1, 8.12.0
References
- https://curl.se/docs/CVE-2025-10148.json
- https://curl.se/docs/CVE-2025-10148.html
- https://hackerone.com/reports/3330839
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.