CVE Catalog

CVE-2025-10148

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.50%

41th percentile - higher than 41% of all known CVEs

Summary

curl's WebSocket code did not update the 32-bit mask pattern for each new outgoing frame as the specification requires. Instead it used a fixed mask that persisted throughout the entire connection. A predictable mask pattern allows a malicious server to induce traffic that an involved proxy may interpret as genuine HTTP traffic and poison its cache.

Risk Assessment

Cache poisoning of the proxy can result in malicious content being served to all users of that proxy. Organizations using curl with an HTTP proxy are exposed to injection of fake responses.

Recommendation

Update curl/libcurl to a version containing the fix that updates the WebSocket mask for each frame. Consider verifying proxy cache integrity in environments using WebSocket through a proxy.

Other vulnerabilities in curl

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS