Sari la conținut
RedCVE

CVE-2026-16512Zephyrproject Zephyr out-of-bounds read

zephyrprojectPublicat:

Scor CVSS

3.1

Scăzut

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.4% dintre toate CVE-urile.

CISA KEV

Nu este în KEV

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

Descrierea oficială

gptp_handle_msg() in subsys/net/l2/ethernet/gptp/gptp.c dereferenced the gPTP header returned by GPTP_HDR() and switched on hdr->message_type without first checking that the received frame carries at least sizeof(struct gptp_hdr) (34) bytes of payload. The header accessor gptp_get_hdr() deliberately never fails for a short buffer — it returns pkt->frags->data and leaves validation to its callers — so a truncated frame produced a header pointer covering memory beyond the received data. The per-message-type checks that follow do not compensate: GPTP_VALID_LEN() reduces to len > 60 once the Ethernet header has been pulled, which is false for every fixed-size gPTP message, so GPTP_CHECK_LEN() never rejects a truncated SYNC, FOLLOWUP, PDELAY_RESP or SIGNALING message. The defect is reached by an unauthenticated peer on the same link sending an Ethernet frame with ethertype 0x88F7 to the PTP multicast address on an interface configured as a gPTP port, with CONFIG_NET_GPTP enabled. Because conformant Ethernet pads frames to 60 bytes, a payload shorter than 34 bytes generally requires a link that can deliver sub-minimum frames — for example the native_sim TAP driver (drivers/ethernet/eth_native_tap.c), which forwards whatever length the host device supplies, or a MAC configured to accept undersized frames. The short packet is retained (net_pkt_ref() into rcvd_sync_ptr, rcvd_follow_up_ptr, rcvd_pdelay_resp_ptr or rcvd_announce_ptr) and later parsed by the media-dependent and media-independent state machines in subsys/net/l2/ethernet/gptp/gptp_md.c and subsys/net/l2/ethernet/gptp/gptp_mi.c, which read tens of further bytes and copy some of them (the announce priority vector, hdr->port_id) into state that is subsequently transmitted. Under the default fixed-size buffer allocator (CONFIG_NET_BUF_FIXED_DATA_SIZE, 128-byte fragments) the accesses stay inside the allocated fragment and disclose stale recycled buffer contents; under the experimental CONFIG_NET_BUF_VARIABLE_DATA_SIZE allocator, where fragments are heap-allocated at the exact frame length, they are genuine out-of-bounds reads. There is no write and no availability impact.

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.4.2 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 adiacentă
Complexitatea atacului
Ridicat
Privilegii necesare
Niciunul
Interacțiune cu utilizatorul
Niciunul
Domeniu de impact
Neschimbat
Confidențialitate
Scăzut
Integritate
Niciunul
Disponibilitate
Niciunul

Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Produse afectate

Produse afectateVersiuni
zephyrproject Zephyr≥ 1.13.0, < 4.3.2 · ≥ 4.4.0, < 4.4.2

Tip de slăbiciune

Cronologie

  1. Publicat:
  2. Ultima modificare:

Întrebări frecvente

Este CVE-2026-16512 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-16512?

CVE-2026-16512 are un scor de bază CVSS 3.1 de 3.1 (scăzut).

Ce versiuni sunt afectate?

Zephyrproject Zephyr (≥ 1.13.0, < 4.3.2; ≥ 4.4.0, < 4.4.2)

Există patch pentru CVE-2026-16512?

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