CVE-2025-10148
Last modified
CVE-2025-10148 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.47% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Haxx | Curl | >= 8.11.0, < 8.16.0 |
References
- https://curl.se/docs/CVE-2025-10148.htmlPatch, Vendor Advisory
- https://curl.se/docs/CVE-2025-10148.jsonVendor Advisory
- https://hackerone.com/reports/3330839Issue Tracking, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2025/09/10/2Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2025/09/10/3Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2025/09/10/4Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-10148?
How severe is CVE-2025-10148?
How do I fix CVE-2025-10148?
Are you affected by CVE-2025-10148?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
