1. Archivio CVE
  2. 2026
  3. CVE-2026-115232

CVE-2026-115232

2.1 Gravità bassa CVSS v4.0 · fonte NVD CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 2.1 – Bassa

Descrizione

In iceoryx2 versions from 0.6.0 to 0.10.0, The C API getters that copy a service's hash into a caller-provided buffer (e.g. iox2_port_factory_pub_sub_service_hash and its other messaging protocol counterparts) write one byte past the end of the caller's buffer when `buffer_len` is less or equal to 40. The out-of-bounds byte is the string's NUL terminator, written at `buffer[buffer_len]`. Resolution: Resolution The bugfix is released with iceoryx2 version 0.10.1 and on main branch (commit 7ca14dd). Please note that the language bindings for C/C++ and Python (including the iceoryx2-ffi-c crate) are not published to crates.io since they are a local development dependency.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
eclipse foundation eclipse iceoryx >= 0.6.0 <= 0.10.0 –

Tipo di vulnerabilità

CWE-170 Improper Null Termination

The product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità Leggere la memoria, Eseguire codice o comandi non autorizzati
Riservatezza, Integrità, Disponibilità Interruzione del servizio: arresto o riavvio, Leggere la memoria, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria
Integrità, Disponibilità Modificare la memoria, Interruzione del servizio: arresto o riavvio
Integrità, Riservatezza, Disponibilità, Controllo degli accessi, Altro Alterare la logica di esecuzione, Eseguire codice o comandi non autorizzati

Come si previene

Requisiti Use a language that is not susceptible to these issues. However, be careful of null byte interaction errors (CWE-626) with lower-level constructs that may be written in a language that is susceptible.
Sviluppo Ensure that all string functions used are understood fully as to how they append null characters. Also, be wary of off-by-one errors when appending nulls to the end of strings.
Sviluppo If performance constraints permit, special code can be added that validates null-termination of string buffers, this is a rather naive and error-prone solution.
Sviluppo Switch to bounded string manipulation functions. Inspect buffer lengths involved in the buffer overrun trace reported with the defect.
Sviluppo Add code that fills buffers with nulls (however, the length of buffers still needs to be inspected, to ensure that the non null-terminated string is not written at the physical end of the buffer).

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 46 CVE di tipo CWE-170, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org