CVE-2023-27560
7.5high
phpseclib Infinite Loop vulnerability
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.81% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-hm7p-r324-hhf3
Description
Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| phpseclib/phpseclib (Packagist) | from 3.0.0 before 3.0.19 | GitHub Advisory Database |
| phpseclib phpseclib | from 3.0.0 before 3.0.19 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields.
GitHub Advisory Database
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-27560 changed 2025-03-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hm7p-r324-hhf3 changed 2025-03-06 | CC-BY-4.0 |
| NVD | CVE-2023-27560 changed 2026-06-17 | Public domain |