
CVE catalog
CVE-2025-50518
libcoap3: CVE-2025-50518
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.46% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libcoap3 | sid | 4.3.5-4 | not affected |
| Debian | libcoap3 | forky | 4.3.5-4 | not affected |
| Debian | libcoap3 | trixie | 4.3.4-1.1+deb13u3 | not affected |
| Debian | libcoap3 | bookworm | 4.3.1-1 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libcoap3 | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | libcoap3 | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | libcoap3 | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | libcoap3 | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libcoap3]Not affected
Details (2)
4.3.1-1· amd64 · bookwormNot affected
dsa · libcoap3 · debian · bookworm
4.3.1-1· arm64 · bookwormNot affected
dsa · libcoap3 · debian · bookworm
- [libcoap3-bin]Not affected
Source package: [libcoap3]
Details (2)
4.3.1-1· amd64 · bookwormNot affected
dsa · libcoap3 · debian · bookworm
4.3.1-1· arm64 · bookwormNot affected
dsa · libcoap3 · debian · bookworm
- [libcoap3-dev]Not affected
Source package: [libcoap3]
Details (2)
4.3.1-1· amd64 · bookwormNot affected
dsa · libcoap3 · debian · bookworm
4.3.1-1· arm64 · bookwormNot affected
dsa · libcoap3 · debian · bookworm
- [libcoap3-doc]Not affected
Source package: [libcoap3]
Details (2)
4.3.1-1· all · bookwormNot affected
dsa · libcoap3 · debian · bookworm
4.3.1-1· all · bookwormNot affected
dsa · libcoap3 · debian · bookworm
Observed: