Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-2fq9-p2vj-rc2v

Опубликовано: 19 авг. 2026
Источник: github
Github: Не прошло ревью
CVSS4: 2.4

Описание

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.

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.

EPSS

Процентиль: 2%
0.00123
Низкий

2.4 Low

CVSS4

Дефекты

CWE-197

Связанные уязвимости

ubuntu
13 дней назад

(nnn stores homelen variable as uchar_t, which can only represent value ...)

nvd
13 дней назад

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.

debian
13 дней назад

nnn stores homelen variable as uchar_t, which can only represent value ...

EPSS

Процентиль: 2%
0.00123
Низкий

2.4 Low

CVSS4

Дефекты

CWE-197