Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
phpseclib versions from 0.1.1 before 1.0.23, from 2.0.0 before 2.0.47, and from 3.0.0 before 3.0.36 are affected. The source gives few details about the attack: it says the issue concerns generating a prime and testing the primality of a number, and it links a research paper, but it does not describe what an attacker can do. Upgrade to 1.0.23, 2.0.47, or 3.0.36, depending on the release branch in use.
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.0060, the 49th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:03 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-2528-jw5q-ww88
- OSV: GHSA-2528-jw5q-ww88
- github.com/phpseclib/phpseclib/security/advisories/GHSA-2528-jw5q-ww88
- nvd.nist.gov/vuln/detail/CVE-2024-27354
- github.com/phpseclib/phpseclib/commit/2870c8fab3f132d2ed40a66c97a36fe5ab625698
- github.com/phpseclib/phpseclib/commit/ad5dbdf2129f5e0fb644637770b7f33de8ca8575
- github.com/phpseclib/phpseclib/commit/c55b75199ec8d12cec6eadf6da99da4a3712fe56
- gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b
- github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2024-27354.yaml
- github.com/phpseclib/phpseclib
- github.com/phpseclib/phpseclib/blob/master/phpseclib/Math/PrimeField.php#L49
- lists.debian.org/debian-lts-announce/2024/03/msg00002.html
- lists.debian.org/debian-lts-announce/2024/03/msg00003.html