CVE-2023-27560
highpriority · track · 30EPSS 0.008 · 57 %ileEUUSEPSS · scored 2026-10-28
Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-hm7p-r324-hhf3phpseclib Infinite Loop vulnerability2023-03-03ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-27560/cnnvd
- https://github.com/phpseclib/phpseclib/commit/6298d1cd55c3ffa44533bd41906caec246b60440cnnvd
- https://github.com/phpseclib/phpseclib/releases/tag/3.0.19cnnvd
- https://github.com/phpseclib/phpseclib/commit/6298d1cd55c3ffa44533bd41906caec246b60440enisa_euvd
- https://github.com/phpseclib/phpseclib/releases/tag/3.0.19enisa_euvd
- https://github.com/phpseclib/phpseclib/commit/6298d1cd55c3ffa44533bd41906caec246b60440Patchnvd
- https://github.com/phpseclib/phpseclib/releases/tag/3.0.19Release Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan