CVE-2025-50518 Affecting libcoap3 package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.06% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-LIBCOAP3-11936800
  • published16 Aug 2025
  • disclosed14 Aug 2025

Introduced: 14 Aug 2025

NewCVE-2025-50518  (opens in a new tab)

How to fix?

There is no fixed version for Debian:14 libcoap3.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcoap3 package and not the libcoap3 package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.