# CVE-2025-34468: libcoap Stack-Based Buffer Overflow in Address Resolution DoS or Potential RCE

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2025-12-31T18:39:07.530Z
- Modified: 2026-11-08T14:00:20.471Z
- Weaknesses: CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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).

(As written by CVE List.)

## Affected

- libcoap libcoap: up to 4.3.5 (not affected: 30db3eaa1f0464722ebea2ca2d5084aebfbd344d)

## Every score

- VulnCheck: CVSS:4.0 8.2 High `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/obgm/libcoap/pull/1737> (issue-tracking, patch)
- <https://github.com/obgm/libcoap/commit/30db3ea> (patch)
- <https://libcoap.net/> (product)
- <https://www.vulncheck.com/advisories/libcoap-stack-based-buffer-overflow-in-address-resolution-dos-or-potential-rce> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-34468](https://www.cve.org/CVERecord?id=CVE-2025-34468), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2025-34468](https://nvd.nist.gov/vuln/detail/CVE-2025-34468), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2025-34468 · Whole record: https://cve.day/CVE-2025-34468.json · Rebuilt by cve.day 2026-11-25T22:59:10.111Z
