CVE-2025-5399

Summary

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

VendorProductVersion RangeStatus
curlcurl8.14.0 <= 8.14.0affected
curlcurl8.13.0 <= 8.13.0affected

Weaknesses

  • CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: yes
    • Technical Impact: partial

References