Vulnerability · Published Mar 3, 2023 · Assigned by mitre
CVE-2023-27560
High 7.5
In plain English
A high-severity infinite loop in the php-phpseclib3 package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 43.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | php-phpseclib3 | 3.0.19-1 | DEBIAN-CVE-2023-27560 |
| Debian:13 | php-phpseclib3 | 3.0.19-1 | DEBIAN-CVE-2023-27560 |
| Debian:14 | php-phpseclib3 | 3.0.19-1 | DEBIAN-CVE-2023-27560 |
| Packagist | phpseclib/phpseclib | 3.0.19 | GHSA-hm7p-r324-hhf3 |
| Ubuntu:22.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2023-27560 |
| Ubuntu:24.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2023-27560 |
| Ubuntu:25.10 | ldap-account-manager | no fix listed | UBUNTU-CVE-2023-27560 |
| Ubuntu:26.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2023-27560 |
| Ubuntu:25.10 | php-phpseclib | no fix listed | UBUNTU-CVE-2023-27560 |
| Ubuntu:26.10 | php-phpseclib | no fix listed | UBUNTU-CVE-2023-27560 |
| Ubuntu:24.04:LTS | php-phpseclib3 | no fix listed | UBUNTU-CVE-2023-27560 |
| Ubuntu:25.10 | php-phpseclib3 | no fix listed | UBUNTU-CVE-2023-27560 |
| Ubuntu:26.04:LTS | php-phpseclib3 | no fix listed | UBUNTU-CVE-2023-27560 |
| Ubuntu:26.10 | php-phpseclib3 | no fix listed | UBUNTU-CVE-2023-27560 |
Affected products (as reported)
Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H