All reports
High

phpseclib Infinite Loop vulnerability

Affected versions

Affected versions
>= 3.0.0, < 3.0.19
Fixed version
3.0.19

Exploitation

CVE-2023-27560

Probability of exploitation in the next 30 days: 0.81%

FIRST EPSS · 2026-11-18

Description

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.

Links

Credits

  • janedbal