CVE-2025-50518

EUVD-2025-24861
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 37.2%
Debian logo
Debian Releases
Debian Product
Codename
libcoap3
bookworm
4.3.1-1
fixed
forky
4.3.5-4
fixed
sid
4.3.5-4
fixed
trixie
4.3.4-1.1+deb13u3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libcoap3
jammy
needs-triage
noble
needs-triage
plucky
ignored
questing
ignored
resolute
needs-triage
libcoap
bionic
needs-triage
jammy
dne
noble
dne
plucky
dne
questing
dne
resolute
dne
libcoap2
focal
needs-triage
jammy
needs-triage
noble
dne
plucky
dne
questing
dne
resolute
dne