CVE-2026-87044Zephyrproject Zephyr memory leak
Scor CVSS
6.5
Mediu
CVSS 3.1 de la zephyrproject.org
Probabilitate de exploatare (EPSS)
0.21%
Șansă de 0.21% să fie exploatată în următoarele 30 de zile, peste 11.3% dintre toate CVE-urile.
CISA KEV
Nu este în KEV
CISA nu a raportat până acum exploatări confirmate.
Descrierea oficială
The Mbed TLS crypto shim driver in drivers/crypto/crypto_mbedtls_shim.c drives PSA multipart cipher and AEAD operations. In mbedtls_cbc() and mbedtls_aead(), every error path after a successful psa_cipher_encrypt_setup() / psa_aead_decrypt_setup() returned directly without calling psa_cipher_abort() / psa_aead_abort(). Because the abort is the only thing that reaches mbedtls_cipher_free(), each failed operation permanently leaked the heap-allocated mbedtls_aes_context (roughly 288 bytes) that setup had allocated from Mbed TLS's fixed static heap (_mbedtls_heap[CONFIG_MBEDTLS_HEAP_SIZE], default 512 bytes). With CONFIG_PSA_CRYPTO_PROVIDER_TFM the leaked object is instead a finite secure-partition multipart-operation slot.
The failure is chosen by an unauthenticated attacker. With CONFIG_NET_L2_IEEE802154_SECURITY backed by this driver, ieee802154_decrypt_auth() in subsys/net/l2/ieee802154/ieee802154_security.c invokes cipher_ccm_op() on every received secured frame, with no authentication ahead of the MIC check. A device in radio range can transmit a stream of syntactically valid 802.15.4 frames carrying a bogus MIC; each one makes psa_aead_verify() fail and leaks a block. The CBC path is reachable the same way through the OSDP secure channel, where CONFIG_OSDP_SC_ENABLED selects this shim and osdp_encrypt() / osdp_decrypt() leave out_buf_max unset, so every operation fails inside psa_cipher_update().
Exhausting the Mbed TLS heap — which the default configuration reaches after a couple of failed operations, and any realistic configuration reaches in well under a second of frames — makes all subsequent mbedtls_calloc() calls fail. Every later cryptographic operation in the image then fails permanently, including link-layer security and any TLS/DTLS sharing the same heap, until the device is rebooted. There is no memory corruption or information disclosure: frames with an invalid MIC are still rejected, so the impact is limited to availability.
The fix routes all post-setup failures in mbedtls_cbc() and mbedtls_aead() through a common error: label that calls the matching PSA abort before returning. Setup failures need no change, since the PSA core aborts the operation itself when setup fails.
Sursa: NVD · CNA: vulnerabilities@zephyrproject.org
Cum îl remediezi, pas cu pas
Verifică dacă ești afectat
Identifică toate sistemele care rulează zephyrproject Zephyr și compară versiunea lor cu versiunile afectate.
Actualizează la o versiune remediată
- Actualizează Zephyr la 4.5.0 sau mai nou.
Confirmă remedierea
Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.
Ți-a fost util?
Cum poate fi exploatată
- Vector de atac
- Rețea adiacentă
- Complexitatea atacului
- Scăzut
- Privilegii necesare
- Niciunul
- Interacțiune cu utilizatorul
- Niciunul
- Domeniu de impact
- Neschimbat
- Confidențialitate
- Niciunul
- Integritate
- Niciunul
- Disponibilitate
- Ridicat
Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Produse afectate
| Produse afectate | Versiuni |
|---|---|
| zephyrproject Zephyr | ≥ 4.4.0, < 4.5.0 |
Tip de slăbiciune
- CWE-401 memory leak
Cronologie
- Publicat:
- Ultima modificare:
Întrebări frecvente
Este CVE-2026-87044 exploatată?
Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.2% de exploatare în următoarele 30 de zile.
Care este scorul CVSS pentru CVE-2026-87044?
CVE-2026-87044 are un scor de bază CVSS 3.1 de 6.5 (mediu).
Ce versiuni sunt afectate?
Zephyrproject Zephyr (≥ 4.4.0, < 4.5.0)
Există patch pentru CVE-2026-87044?
Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.
Referințe
Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.