CVE-2025-5399: WebSocket endless loop

Published Jun 4, 2025
·
Updated

Due to a mistake in libcurl's WebSocket code, a malicious server can send a particularly crafted packet which makes libcurl get trapped in an endless busy-loop.

There is no other way for the application to escape or exit this loop other than killing the thread/process.

This might be used to DoS libcurl-using application.

Affected Software

2 affected components
curl libcurl
haxx curl>=8.13.0<8.14.1

Event History

Jun 7, 2025
CVE Published
via MITRE·07:49 AM
Data Sourced
via MITRE·07:49 AM
DescriptionWeakness
Data Sourced
via Red Hat·08:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-5399?

CVE-2025-5399 has a moderate severity due to the potential for an endless busy-loop in libcurl.

2

How do I fix CVE-2025-5399?

To mitigate CVE-2025-5399, upgrade to the latest version of libcurl that addresses this vulnerability.

3

What impact does CVE-2025-5399 have on applications using libcurl?

CVE-2025-5399 can cause applications using libcurl to become unresponsive due to an endless busy-loop.

4

Who is affected by CVE-2025-5399?

Any application using the vulnerable versions of libcurl with WebSocket functionality is affected by CVE-2025-5399.

5

What should I do if I'm unable to upgrade to fix CVE-2025-5399?

If upgrading is not possible, consider implementing safeguards to monitor and kill unresponsive processes caused by CVE-2025-5399.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203