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

EcosystemPackageFixed inAdvisory
Debian:12php-phpseclib33.0.19-1DEBIAN-CVE-2023-27560
Debian:13php-phpseclib33.0.19-1DEBIAN-CVE-2023-27560
Debian:14php-phpseclib33.0.19-1DEBIAN-CVE-2023-27560
Packagistphpseclib/phpseclib3.0.19GHSA-hm7p-r324-hhf3
Ubuntu:22.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2023-27560
Ubuntu:24.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2023-27560
Ubuntu:25.10ldap-account-managerno fix listedUBUNTU-CVE-2023-27560
Ubuntu:26.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2023-27560
Ubuntu:25.10php-phpseclibno fix listedUBUNTU-CVE-2023-27560
Ubuntu:26.10php-phpseclibno fix listedUBUNTU-CVE-2023-27560
Ubuntu:24.04:LTSphp-phpseclib3no fix listedUBUNTU-CVE-2023-27560
Ubuntu:25.10php-phpseclib3no fix listedUBUNTU-CVE-2023-27560
Ubuntu:26.04:LTSphp-phpseclib3no fix listedUBUNTU-CVE-2023-27560
Ubuntu:26.10php-phpseclib3no fix listedUBUNTU-CVE-2023-27560

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References