nday
CVE-2026-29013

libcoap Out-of-Bounds Read in OSCORE CBOR Unwrap Handling

libcoap / libcoap

揭露 214 天後出現公開 PoC。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 1 個收錄:github。目前未列入 CISA KEV。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

out-of-bounds read
CWE-125, stated by the CNA VulnCheck 與 NVD, republishing [email protected]
remote, unauthenticated
AV:N、PR:N、UI:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA VulnCheck
network
AV:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA VulnCheck
no authentication required
PR:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA VulnCheck
no user interaction
UI:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA VulnCheck
目前階段
POC
揭露時間
揭露 → 公開 PoC
T+214d POC 僅有日期
CVSS
8.8 HIGH v4.0

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
04-17T21:11Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
11-17 僅日期
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

libcoap contains out-of-bounds read vulnerabilities in OSCORE Appendix B.2 CBOR unwrap handling where get_byte_inc() in src/oscore/oscore_cbor.c relies solely on assert() for bounds checking, which is removed in release builds compiled with NDEBUG. Attackers can send crafted CoAP requests with malformed OSCORE options or responses during OSCORE negotiation to trigger out-of-bounds reads during CBOR parsing and potentially cause out-of-bounds reads through integer wraparound in allocation size computation.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N

CVSS 4.0 vector from the CVE record, scored by the CNA VulnCheck.

事件紀錄

+DIS揭露

CVE 紀錄由 VulnCheck 發布。CVSS 8.8,屬高風險等級。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 416065,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-29013",
  "occurred_at": "2026-04-17T21:11:38.137Z",
  "observed_at": "2026-11-13T05:39:40.745403Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 8.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-04-20T13:53:33.431968Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-04-17T21:11:38.137Z",
    "assigner_short_name": "VulnCheck"
  }
}
2026-11-17僅日期,由來源提供
+POC公開 PoC

GitHub 上的 PoC 儲存庫:DoraYeh1519/cve-2026-29013-libcoap-oscore-repro。日期為儲存庫的建立日。

來源 github 1461303203 · nday 於 批次匯入 · 原始
{
  "id": 483208,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/DoraYeh1519/cve-2026-29013-libcoap-oscore-repro",
  "occurred_at": "2026-11-17T11:16:51Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "1461303203",
  "detail": {
    "url": "https://github.com/DoraYeh1519/cve-2026-29013-libcoap-oscore-repro",
    "title": "DoraYeh1519/cve-2026-29013-libcoap-oscore-repro",
    "precision": "day"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.