{"id":"CVE-2025-50518","published":"2025-08-14T00:00:00Z","modified":"2025-09-11T17:46:17Z","title":"A use-after-free vulnerability exists in the coap_delete_pdu_lkd function within coap_pdu.c of the libcoap library","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01027,"percentile":0.6273,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/IreneTheITCrowd/blog/blob/main/libcoap-vulnerability.md","tags":[]},{"url":"https://github.com/IreneTheITCrowd/blog/issues/1","tags":[]},{"url":"https://github.com/obgm/libcoap/issues/1724#issuecomment-3199631257","tags":[]},{"url":"https://github.com/obgm/libcoap/issues/1724#issuecomment-3234613482","tags":[]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":12.55},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-08-15T12:37:01.113004Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-24861","exploited":false,"provenance":"source"}}