CVE-2025-50518
Last modified
CVE-2025-50518 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. A use-after-free vulnerability exists in the coap_delete_pdu_lkd function within coap_pdu.c of the libcoap library. This issue occurs due to improper handling of memory after the freeing of a PDU object, leading to potential memory corruption or the possibility of executing arbitrary code. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
Description
A use-after-free vulnerability exists in the coap_delete_pdu_lkd function within coap_pdu.c of the libcoap library. This issue occurs due to improper handling of memory after the freeing of a PDU object, leading to potential memory corruption or the possibility of executing arbitrary code. NOTE: this is disputed by the Supplier because it only occurs when an application uses libcoap incorrectly.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-50518?
How severe is CVE-2025-50518?
How do I fix CVE-2025-50518?
Are you affected by CVE-2025-50518?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
