ADVISORIES

GitHub Advisory Database

GHSA-hm7p-r324-hhf3

phpseclib Infinite Loop vulnerability

Details

Math/PrimeField.php in phpseclib has an infinite loop with composite primefields. This vulnerability was introduced in version 3.0.0, and has been patched in 3.0.19. The CVE for this issue originally identified the the vulnerable version as 2.x, however, the vulnerable functionality was not introduced until version 3.

Affected packages

EcosystemPackageAffected versions
Packagistphpseclib/phpseclib
From 3.0.0 before 3.0.19 (fixed in 3.0.19)

References