← Vulnerability feed

Vulnerability record · CVE-2025-34468 · published 31 December 2025

CVE-2025-34468: Libcoap stack-based buffer overflow vulnerability

Libcoap · Libcoap

libcoap versions up to and including 4.3.5, prior to commit 30db3ea, contain a stack-based buffer overflow in address resolution when attacker-controlled hostname data is copied into a fixed 256-byte stack buffer without proper bounds checking. A remote attacker can trigger a crash and potentially achieve remote code execution depending on compiler options and runtime memory protections. Exploitation requires the proxy logic to be enabled (i.e., the proxy request handling code path in an application using libcoap).

8.2 CVSS 4.0 High EPSS 0.75% · top 47.0% CWE-121 · Stack-based buffer overflowCWE-787 · Out-of-bounds write
8.2CVSS 4.0 base score
0.75%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
23 Sep 2026Last modified by NVD

Description

libcoap versions up to and including 4.3.5, prior to commit 30db3ea, contain a stack-based buffer overflow in address resolution when attacker-controlled hostname data is copied into a fixed 256-byte stack buffer without proper bounds checking. A remote attacker can trigger a crash and potentially achieve remote code execution depending on compiler options and runtime memory protections. Exploitation requires the proxy logic to be enabled (i.e., the proxy request handling code path in an application using libcoap).

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-34468 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2026-29013Libcoap out-of-bounds read vulnerabilitylibcoap contains out-of-bounds read vulnerabilities in OSCORE Appendix B.2 CBOR unwrap handling where get_byte_inc() in src/oscore/oscore_cbor.c reli…EPSS 0.52%7.8CVE-2024-0962Libcoap stack-based buffer overflow vulnerabilityA vulnerability was found in obgm libcoap 4.3.4. It has been rated as critical. Affected by this issue is the function get_split_entry of the file sr…EPSS 0.76%7.5CVE-2025-65495Libcoap vulnerabilityInteger signedness error in tls_verify_call_back() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service v…EPSS 0.24%7.5CVE-2025-65493Libcoap null pointer dereference vulnerabilityNULL pointer dereference in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS/TLS conn…EPSS 0.38%7.5CVE-2025-65494Libcoap null pointer dereference vulnerabilityNULL pointer dereference in get_san_or_cn_from_cert() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of servic…EPSS 0.24%7.5CVE-2024-31031Libcoap integer overflow vulnerabilityAn issue in `coap_pdu.c` in libcoap 4.3.4 allows attackers to cause undefined behavior via a sequence of messages leading to unsigned integer overflo…EPSS 0.87%7.5CVE-2023-30362Libcoap out-of-bounds read vulnerabilityBuffer Overflow vulnerability in coap_send function in libcoap library 4.3.1-103-g52cfd56 fixed in 4.3.1-120-ge242200 allows attackers to obtain sens…EPSS 0.75%6.5CVE-2025-59391Libcoap out-of-bounds read vulnerabilityA memory disclosure vulnerability exists in libcoap's OSCORE configuration parser in libcoap before release-4.3.5-patches. An out-of-bounds read may …EPSS 0.26%

Source: NIST National Vulnerability Database (record CVE-2025-34468), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.