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

exploitDog

github логотип

GHSA-gjm7-vch5-hch8

Опубликовано: 25 июн. 2026
Источник: github
Github: Не прошло ревью
CVSS4: 2.3
CVSS3: 7.5

Описание

The X25519 x86_64 assembly implementation fails to clear the most significant bit during the final modular reduction, so the computed result may not be fully reduced modulo the field prime 2^255 - 19. This can leave the field element in a non-canonical form, producing an incorrect result from the scalar multiplication and potentially a wrong shared secret. The final carry-propagation chains in the x64 and AVX2 reduction routines could overflow into the top bit, and the high limb was not masked afterward, so the 255-bit field element was left non-canonical.

The X25519 x86_64 assembly implementation fails to clear the most significant bit during the final modular reduction, so the computed result may not be fully reduced modulo the field prime 2^255 - 19. This can leave the field element in a non-canonical form, producing an incorrect result from the scalar multiplication and potentially a wrong shared secret. The final carry-propagation chains in the x64 and AVX2 reduction routines could overflow into the top bit, and the high limb was not masked afterward, so the 255-bit field element was left non-canonical.

EPSS

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

2.3 Low

CVSS4

7.5 High

CVSS3

Дефекты

CWE-682

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

CVSS3: 7.5
ubuntu
около 2 месяцев назад

The X25519 x86_64 assembly implementation fails to clear the most significant bit during the final modular reduction, so the computed result may not be fully reduced modulo the field prime 2^255 - 19. This can leave the field element in a non-canonical form, producing an incorrect result from the scalar multiplication and potentially a wrong shared secret. The final carry-propagation chains in the x64 and AVX2 reduction routines could overflow into the top bit, and the high limb was not masked afterward, so the 255-bit field element was left non-canonical.

CVSS3: 7.5
nvd
около 2 месяцев назад

The X25519 x86_64 assembly implementation fails to clear the most significant bit during the final modular reduction, so the computed result may not be fully reduced modulo the field prime 2^255 - 19. This can leave the field element in a non-canonical form, producing an incorrect result from the scalar multiplication and potentially a wrong shared secret. The final carry-propagation chains in the x64 and AVX2 reduction routines could overflow into the top bit, and the high limb was not masked afterward, so the 255-bit field element was left non-canonical.

msrc
около 1 месяца назад

X25519 x86_64 assembly final reduction leaves non-canonical field element

CVSS3: 7.5
debian
около 2 месяцев назад

The X25519 x86_64 assembly implementation fails to clear the most sign ...

EPSS

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

2.3 Low

CVSS4

7.5 High

CVSS3

Дефекты

CWE-682