Skip to content

phpseclib Infinite Loop vulnerability

Moderate severity GitHub Reviewed Published Mar 3, 2023 to the GitHub Advisory Database • Updated Mar 8, 2023

Package

composer phpseclib/phpseclib (Composer)

Affected versions

>= 3.0.0, < 3.0.19

Patched versions

3.0.19

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.

References

Published by the National Vulnerability Database Mar 3, 2023
Published to the GitHub Advisory Database Mar 3, 2023
Reviewed Mar 3, 2023
Last updated Mar 8, 2023

Severity

Moderate

EPSS score

0.101%
(42nd percentile)

Weaknesses

CVE ID

CVE-2023-27560

GHSA ID

GHSA-hm7p-r324-hhf3

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.