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.
History

Fri, 15 Aug 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 15 Aug 2025 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Fri, 15 Aug 2025 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Libcoap
Libcoap libcoap
Vendors & Products Libcoap
Libcoap libcoap

Thu, 14 Aug 2025 16:15:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2025-08-14T00:00:00.000Z

Updated: 2025-08-15T12:58:47.222Z

Reserved: 2025-06-16T00:00:00.000Z

Link: CVE-2025-50518

cve-icon Vulnrichment

Updated: 2025-08-15T12:37:36.546Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-08-14T16:15:35.417

Modified: 2025-08-15T13:15:31.510

Link: CVE-2025-50518

cve-icon Redhat

No data.