LiveActive security incident?Get immediate response
CVE Record

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

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

HighCVSS 8.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

libcoap before commit 30db3ea can overflow a stack buffer while resolving attacker-controlled hostnames. In applications with proxy request handling enabled, a remote unauthenticated attacker could crash the service and might achieve code execution depending on memory protections. Organizations using libcoap for CoAP proxying should prioritize inventory and vendor update review.

Executive priority

Treat as high priority where libcoap proxy functionality is internet-facing or used in critical services. The main business risk is service outage, with possible code execution not ruled out by sources. Prioritize exposed proxy deployments first.

Technical view

The flaw is a CWE-121 stack-based buffer overflow in libcoap address resolution. Hostname data can be copied into a fixed 256-byte stack buffer without proper bounds checking. Sources identify versions through 4.3.5 before commit 30db3ea as affected, with CVSS 4.0 score 8.2 and required proxy-code-path exposure.

Likely exposure

Exposure appears limited to applications using libcoap versions up to 4.3.5 before commit 30db3ea with proxy request handling enabled. Systems that include libcoap but do not expose the proxy logic are not shown as reachable in the provided bundle.

Exploitation context

The bundle does not cite active exploitation and marks KEV false. The issue is remotely reachable with no privileges or user interaction, but the attack path requires enabled proxy handling. Confirmed impact is denial of service; remote code execution is described as potential and environment-dependent.

Researcher notes

Key uncertainty is exploitability beyond crash. The advisory ties reachability to proxy logic, so validation should focus on code-path exposure, build flags, and deployed commit level. Avoid assuming all libcoap consumers are vulnerable without proxy handling evidence.

Mitigation direction

  • Update libcoap to a version containing commit 30db3ea or later vendor guidance.
  • Disable or restrict libcoap proxy request handling where it is not required.
  • Limit network exposure to CoAP proxy services using segmentation and access controls.
  • Review compiler and runtime memory protections for affected deployments.

Validation and detection

  • Inventory applications and firmware that link or bundle libcoap.
  • Confirm deployed libcoap version or commit is after 30db3ea.
  • Check whether proxy request handling is enabled and reachable remotely.
  • Review service logs for unexpected crashes in proxy hostname resolution paths.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-121: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-34468 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.2 (4.0)
Known Exploited
No
Published

Vector: 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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.2CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

8.2High
CVSS 4.0 vector shape for CVE-2025-34468Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
libcoaplibcoap0, 30db3eaa1f0464722ebea2ca2d5084aebfbd344dunaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-121 · source CWE mapping

Stack-based Buffer Overflow

Stack-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.