Vulnerability in Curl

CVE-2025-10148

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.

EPSS: 0.005 (37.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Affected products

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-10148?
CVE-2025-10148 is a medium-severity vulnerability in Curl, classified under CWE-340 GENERATION OF PREDICTABLE NUMBERS OR IDENTIFIERS. CVSS score: 5.3/10. Published 2025-09-12.
How severe is CVE-2025-10148?
Medium severity. CVSS v3 base score is 5.3 out of 10.
Is CVE-2025-10148 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.