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

CVE-2026-65610

2.4 Gravità bassa CVSS v4.0 · fonte NVD CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/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.4 – Bassa

Descrizione

nnn stores homelen variable as uchar_t, which can only represent values in the range 0-255. An attacker who can influence the victim's execution environment can provide an arbitrary HOME path with length that is truncated to 0. The expression (homelen - 1) is promoted to signed int and becomes -1 and producing an out-of-bounds read and an out-of-bounds write one byte before the path buffer.  Maintainer of this project was notified about this vulnerability. It might has been addressed, but the maintainer did not provide a vulnerable version range. Only version 5.2 was tested and confirmed as vulnerable.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
nnn nnn 5.2 –

Tipo di vulnerabilità

CWE-197 Numeric Truncation Error

Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria, Dipende dal contesto

Come si previene

Sviluppo Ensure that no casts, implicit or explicit, take place that move from a larger size primitive or a smaller size primitive.

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

Tutte le 76 CVE di tipo CWE-197, con andamento e prevenzione

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