[From nobody Sun Apr 19 12:21:09 2026
Received: (at submit) by bugs.debian.org; 18 Apr 2026 19:35:51 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-10.9 required=4.0 tests=BAYES_00,FOURLA,
 FROMDEVELOPER,MD5_SHA1_SUM,NO_RELAYS,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 149; neutral, 39; spammy,
 1. spammytokens:0.942-+--H*r:bugs.debian.org
 hammytokens:0.000-+--H*F:U*carnil, 0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--HTo:N*Debian, 0.000-+--H*Ad:N*Bug
Return-path: &lt;carnil@debian.org&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;carnil@debian.org&gt;) id 1wEBSI-00HUs2-0p
 for submit@bugs.debian.org; Sat, 18 Apr 2026 19:35:51 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libcoap3: CVE-2026-29013
Message-ID: &lt;177654094923.76056.7332575197291758252.reportbug@eldamar.lan&gt;
X-Mailer: reportbug 13.2.0
Date: Sat, 18 Apr 2026 21:35:49 +0200
Delivered-To: submit@bugs.debian.org

Source: libcoap3
Version: 4.3.5-2
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team &lt;team@security.debian.org&gt;

Hi,

The following vulnerability was published for libcoap3.

CVE-2026-29013[0]:
| 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 heap buffer
| overflow writes through integer wraparound in allocation size
| computation.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities &amp; Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-29013
    https://www.cve.org/CVERecord?id=CVE-2026-29013
[1] https://github.com/obgm/libcoap/commit/b7847c4dbb0dbee7c90b09a673d4cae256f03718

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore
]