CVE-2023-27560: High severity phpseclib vulnerability

Published Mar 3, 2023
·
Updated

Infinite Loop vulnerability

Other sources

Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields.

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 Software

3 affected componentsFixes available
composer/phpseclib/phpseclib>=3.0.0, <3.0.19
phpseclib phpseclib>=3.0.0<3.0.19
composer/phpseclib/phpseclib>=3.0.0<3.0.19
3.0.19

Event History

Mar 3, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Advisory Published
06:30 AM
Data Sourced
via GitHub·06:30 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-27560?

CVE-2023-27560 is an Infinite Loop vulnerability in phpseclib.

2

What is the severity of CVE-2023-27560?

CVE-2023-27560 has a severity rating of 7.5 (High).

3

How does CVE-2023-27560 affect phpseclib?

CVE-2023-27560 affects phpseclib versions 3.0.0 to 3.0.19.

4

How can I fix CVE-2023-27560?

To fix CVE-2023-27560, update phpseclib to version 3.0.19 or later.

5

Where can I find more information about CVE-2023-27560?

You can find more information about CVE-2023-27560 in the following references: [link1](https://github.com/advisories/GHSA-hm7p-r324-hhf3), [link2](https://nvd.nist.gov/vuln/detail/CVE-2023-27560), [link3](https://github.com/phpseclib/phpseclib/commit/6298d1cd55c3ffa44533bd41906caec246b60440).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203