Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
phpseclib/phpseclib versions 3.0.0 up to but not including 3.0.19 contain an infinite loop in Math/PrimeField.php when working with composite primefields. The source does not describe what an attacker must do to trigger it or what the resulting impact is. Upgrade to version 3.0.19, which contains the fix.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.0081, the 57th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:27 UTC First seen by agentprime
- 31 Oct 2026, 14:27 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-hm7p-r324-hhf3
- OSV: GHSA-hm7p-r324-hhf3
- nvd.nist.gov/vuln/detail/CVE-2023-27560
- github.com/phpseclib/phpseclib/commit/6298d1cd55c3ffa44533bd41906caec246b60440
- github.com/phpseclib/phpseclib/commit/6298d1cd55c3ffa44533bd41906caec246b60440#commitcomment-103226722
- github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2023-27560.yaml
- github.com/phpseclib/phpseclib
- github.com/phpseclib/phpseclib/releases/tag/3.0.19