Use-After-Free Vulnerability in Libcoap Affects Multiple Versions
CVE-2025-50518
9.8CRITICAL
What is CVE-2025-50518?
A use-after-free vulnerability identified in the coap_delete_pdu_lkd function within the libcoap library can lead to improper handling of memory. This vulnerability arises when the memory associated with a Protocol Data Unit (PDU) is freed, yet subsequent operations attempt to access the now-invalid memory. This flaw could potentially enable an attacker to cause memory corruption or execute arbitrary code, posing significant risks to systems utilizing affected versions of the Libcoap library.
