Sari la conținut
RedCVE

CVE-2026-87045Zephyrproject Zephyr NULL pointer dereference

zephyrprojectPublicat:

Scor CVSS

7.5

Ridicat

CVSS 3.1 de la zephyrproject.org

Probabilitate de exploatare (EPSS)

0.38%

Șansă de 0.38% să fie exploatată în următoarele 30 de zile, peste 33.0% dintre toate CVE-urile.

CISA KEV

Nu este în KEV

CISA nu a raportat până acum exploatări confirmate.

Descrierea oficială

The HTTP/2 server in subsys/net/lib/http/http_server_http2.c clears the connection's stream binding at the start of every frame. handle_http_frame_header() executed client->current_stream = NULL unconditionally, but a CONTINUATION frame does not open a new stream and enter_http_frame_continuation_state() never re-bound one, so the rest of the header block was processed with client->current_stream unset. Two paths then write through the NULL pointer. A request for an unregistered resource, or a method the matched resource does not support, is answered by send_http2_404() or send_http2_405(), and both call send_headers_frame(), which unconditionally sets client->current_stream->headers_sent = true. A POST, PUT or PATCH to a registered dynamic resource reaches handle_http2_dynamic_resource(), which unlike its siblings (handle_http2_static_resource(), dynamic_get_del_opts_req_v2(), dynamic_post_put_req_v2()) had no client->current_stream == NULL guard, and stores through the pointer with client->current_stream->current_detail = dynamic_detail. Any peer that can reach the server can trigger this without authentication or prior state. A single stray CONTINUATION frame with END_HEADERS set, sent right after the client preface and requesting any unregistered path, is enough, because nothing rejected a CONTINUATION that no HEADERS frame had opened. A legitimate split header block (a HEADERS frame with END_HEADERS clear whose payload ends on a header-field boundary, then a CONTINUATION with END_HEADERS set) reaches the same state. The in-tree test test_http2_post_headers_with_continuation() did not catch this because it splits the header block mid field, which takes the handle_incomplete_http_header() shortcut that keeps the stream bound. The result is a write to a fixed low address (a small offset into struct http2_stream_ctx), which faults on mainstream targets (flash/vector-table region on Cortex-M, or a trap under MPU/MMU null-pointer detection), and the default fatal-error handler halts the system. Impact is an unauthenticated, remotely triggerable denial of service against any device running the HTTP/2 server: the 404 path needs no particular resource to be registered, and HTTP/2 is built into CONFIG_HTTP_SERVER with cleartext h2c accepted, so TLS does not prevent it. Neither the target address nor the written value is attacker-controlled, so there is no confidentiality or integrity impact. Applications built without CONFIG_HTTP_SERVER are not affected.

Sursa: NVD · CNA: vulnerabilities@zephyrproject.org

Cum îl remediezi, pas cu pas

  1. Verifică dacă ești afectat

    Identifică toate sistemele care rulează zephyrproject Zephyr și compară versiunea lor cu versiunile afectate.

  2. Actualizează la o versiune remediată

    • Actualizează Zephyr la 4.3.2, 4.5.0 sau mai nou, pe ramura pe care o folosești.
  3. 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
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:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Produse afectate

Produse afectateVersiuni
zephyrproject Zephyr≥ 4.1.0, < 4.3.2 · ≥ 4.4.0, < 4.5.0

Tip de slăbiciune

Cronologie

  1. Publicat:
  2. Ultima modificare:

Întrebări frecvente

Este CVE-2026-87045 exploatată?

Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.4% de exploatare în următoarele 30 de zile.

Care este scorul CVSS pentru CVE-2026-87045?

CVE-2026-87045 are un scor de bază CVSS 3.1 de 7.5 (ridicat).

Ce versiuni sunt afectate?

Zephyrproject Zephyr (≥ 4.1.0, < 4.3.2; ≥ 4.4.0, < 4.5.0)

Există patch pentru CVE-2026-87045?

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