CVE-2025-34468
published high CVSS 4.0 · 8.2libcoap Stack-Based Buffer Overflow in Address Resolution DoS or Potential RCE
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libcoap | — | libcoap0 through 4.3.5 (affected · semver) · 30db3eaa1f0464722ebea2ca2d5084aebfbd344d (unaffected · git) · Other versions: unaffected | Version-specific | Not stated | 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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libcoap | libcoap | 0 through 4.3.5 (affected · semver)30db3eaa1f0464722ebea2ca2d5084aebfbd344d (unaffected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-121 CWE-121 Stack-based Buffer Overflow
References
4Provider assertions
2VulnCheck · cna
libcoap Stack-Based Buffer Overflow in Address Resolution DoS or Potential RCE
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a82d6b107df9326370ae2f465d18debfb9896db6a467e7509b5b0c70894b0213
- Ingested
- 08 Nov 2026, 14:03:33 UTC
- Source record
- Official CVE record