CVE-2025-50518

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

No configuration.

History

02 Sep 2025, 13:15

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de use-after-free en la función coap_delete_pdu_lkd, dentro de coap_pdu.c de la librería libcoap. Este problema se produce debido a un manejo inadecuado de la memoria tras la liberación de un objeto PDU, lo que puede provocar corrupción de memoria o la ejecución de código arbitrario.
Summary (en) 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. (en) 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.
References
  • {'url': 'https://github.com/obgm/libcoap.git', 'source': 'cve@mitre.org'}
  • () https://github.com/IreneTheITCrowd/blog/issues/1 -
  • () https://github.com/obgm/libcoap/issues/1724#issuecomment-3199631257 -
  • () https://github.com/obgm/libcoap/issues/1724#issuecomment-3234613482 -

15 Aug 2025, 13:15

Type Values Removed Values Added
CWE CWE-416
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References () https://github.com/IreneTheITCrowd/blog/blob/main/libcoap-vulnerability.md - () https://github.com/IreneTheITCrowd/blog/blob/main/libcoap-vulnerability.md -

14 Aug 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-14 16:15

Updated : 2025-09-02 13:15


NVD link : CVE-2025-50518

Mitre link : CVE-2025-50518

CVE.ORG link : CVE-2025-50518


JSON object : View

Products Affected

No product.

CWE
CWE-416

Use After Free