mcu-tools MCUboot bis 2.0.0 PSA-crypto ECDSA adapter image_validate.c bootutil_ecdsa_verify Pufferüberlauf

CVSS Meta Temp ScoreAktueller Exploitpreis (≈)CTI Interest Score
4.7$0-$5k0.00+

Zusammenfassunginfo

Eine Schwachstelle wurde in mcu-tools MCUboot bis 2.0.0 gefunden. Sie wurde als kritisch eingestuft. Es geht um die Funktion bootutil_ecdsa_verify der Datei boot/bootutil/src/image_validate.c der Komponente PSA-crypto ECDSA adapter. Mittels Manipulieren mit unbekannten Daten kann eine Pufferüberlauf-Schwachstelle ausgenutzt werden. Die Identifikation der Schwachstelle findet als CVE-2026-16670 statt. Der Angriff ist nur lokal möglich. Es steht kein Exploit zur Verfügung.

Detailsinfo

Es wurde eine Schwachstelle in mcu-tools MCUboot bis 2.0.0 entdeckt. Sie wurde als kritisch eingestuft. Hiervon betroffen ist die Funktion bootutil_ecdsa_verify der Datei boot/bootutil/src/image_validate.c der Komponente PSA-crypto ECDSA adapter. Mit der Manipulation mit einer unbekannten Eingabe kann eine Pufferüberlauf-Schwachstelle ausgenutzt werden. Im Rahmen von CWE wurde eine Klassifizierung als CWE-121 vorgenommen. Auswirken tut sich dies auf die Verfügbarkeit. Die Zusammenfassung von CVE lautet:

MCUboot's PSA-crypto ECDSA adapter parses the RFC 5480 DER signature with parse_signature_from_rfc5480_encoding() in boot/bootutil/include/bootutil/crypto/ecdsa.h, which takes no length argument. bootutil_ecdsa_verify() explicitly discards the signature length ((void)slen;) and the parser walks the encoding using length bytes read from the buffer itself (r_len = sig[3], then a derived s_len), with no check that those offsets stay within the supplied signature. Because this parsing runs before psa_verify_hash(), a malformed signature triggers the read whether or not the signature is valid. In bootutil_img_validate() (boot/bootutil/src/image_validate.c:404) the ECDSA signature TLV is gated only by len > sizeof(buf), since EXPECTED_SIG_LEN() is the constant 1 for ECDSA; len is attacker-controlled in the range 0..128 and is copied into the 128-byte stack buffer buf. With a crafted r_len (e.g. sig[3] = 255) the parser's memcpy reads roughly 130+ bytes past the end of buf, an out-of-bounds read of adjacent stack memory. Reaching the signature case only requires a key TLV that matches a trusted public key (public material), so the path is effectively pre-authentication. The defect is gated to the PSA crypto backend (MCUBOOT_USE_PSA_CRYPTO) with MCUBOOT_SIGN_EC256/MCUBOOT_SIGN_EC384 (and MCUBOOT_SIGN_EC384 always builds with PSA); the in-tree CC310, TinyCrypt, and mbedTLS adapters use different decoders and are not affected. This is not a signature bypass: the over-read bytes feed a verification that fails closed and are never returned to the attacker, so there is no information leak. The impact is bounded to a possible fault/denial-of-service on memory layouts where the read crosses an unmapped region; on typical flat-memory MCUs it reads adjacent RAM without faulting. This vulnerability was reported independently twice: by NVIDIA Project Vanessa on 2026-06-22, and by Kai Phan (@kaimandalic) on 2026-07-19 as GHSA-r44p-8v6p-hqv4, which is closed as a duplicate of this advisory. Both original reports are reproduced in full below. The second report additionally observes that bootutil_ecdsa_parse_public_key() discards its end pointer ((void)end;, ecdsa.h:446). That observation is correct, but it is not part of this vulnerability and is not counted in the severity: the buffer it parses is bootutil_keys[key_id].key, the compiled-in trusted key store (image_ecdsa.c:54-55), so no attacker-controlled data reaches that parse. It is a robustness gap on the same code path and should be closed alongside the signature-parser fix. Note also that the second report's proof-of-concept models the signature buffer as an 8-byte heap allocation and therefore reports a heap overflow; in MCUboot the buffer is the 128-byte stack array buf, gated by len > sizeof(buf), so the real over-read is of adjacent stack memory.

Das Advisory findet sich auf github.com. Die Identifikation der Schwachstelle wird seit dem 22.07.2026 mit CVE-2026-16670 vorgenommen. Die Ausnutzbarkeit gilt als leicht. Der Angriff muss lokal erfolgen. Es sind zwar technische Details, jedoch kein verfügbarer Exploit zur Schwachstelle bekannt.

Es sind keine Informationen bezüglich Gegenmassnahmen bekannt. Der Einsatz eines alternativen Produkts bietet sich im Zweifelsfall an.

Be aware that VulDB is the high quality source for vulnerability data.

Produktinfo

Hersteller

Name

Version

Webseite

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Zuverlässigkeit: 🔍

CVSSv3info

VulDB Meta Base Score: 4.8
VulDB Meta Temp Score: 4.7

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔒
VulDB Zuverlässigkeit: 🔍

CNA Base Score: 4.0
CNA Vector (zephyr): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VektorKomplexitätAuthentisierungVertraulichkeitIntegritätVerfügbarkeit
freischaltenfreischaltenfreischaltenfreischaltenfreischaltenfreischalten
freischaltenfreischaltenfreischaltenfreischaltenfreischaltenfreischalten
freischaltenfreischaltenfreischaltenfreischaltenfreischaltenfreischalten

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Zuverlässigkeit: 🔍

Exploitinginfo

Klasse: Pufferüberlauf
CWE: CWE-121 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physisch: Teilweise
Lokal: Ja
Remote: Nein

Verfügbarkeit: 🔒
Status: Nicht definiert
Preisentwicklung: 🔍
Aktuelle Preisschätzung: 🔒

0-Dayfreischaltenfreischaltenfreischaltenfreischalten
Heutefreischaltenfreischaltenfreischaltenfreischalten

Threat Intelligenceinfo

Interesse: 🔍
Aktive Akteure: 🔍
Aktive APT Gruppen: 🔍

Gegenmassnahmeninfo

Empfehlung: keine Massnahme bekannt
Status: 🔍

0-Day Time: 🔒

Timelineinfo

22.07.2026 CVE zugewiesen
25.11.2026 +126 Tage Advisory veröffentlicht
25.11.2026 +0 Tage VulDB Eintrag erstellt
25.11.2026 +0 Tage VulDB Eintrag letzte Aktualisierung

Quelleninfo

Produkt: github.com

Advisory: github.com
Status: Nicht definiert

CNA: zephyr
CVE: CVE-2026-16670 (🔒)

GCVE (CVE): GCVE-0-2026-16670
GCVE (VulDB): GCVE-100-443511

Eintraginfo

Erstellt: 25.11.2026 01:05
Anpassungen: 25.11.2026 01:05 (64)
Komplett: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Diskussion

Bisher keine Kommentare. Sprachen: de + en.

Bitte loggen Sie sich ein, um kommentieren zu können.

Want to know what is going to be exploited?

We predict KEV entries!