CVEfocus › CVE database › CVE-2023-27560

CVE-2023-27560

CVSS 7.5 HighEPSS 0.9% (higher than 57% of CVEs)Published 2023-03-03Updated 2025-03-06Assigner: mitre

Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields.

CWE-835

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
8Fix pending
5Under investigation
8Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10php-phpseclibFix pendingUBUNTU-CVE-2023-27560
Ubuntu 26.10php-phpseclib3Fix pendingUBUNTU-CVE-2023-27560
Ubuntu 26.04ldap-account-managerUnder investigationUBUNTU-CVE-2023-27560
Ubuntu 26.04php-phpseclibFix pendingUBUNTU-CVE-2023-27560
Ubuntu 26.04php-phpseclib3Under investigationUBUNTU-CVE-2023-27560
Ubuntu 25.10ldap-account-managerWill not fix
php-phpseclib handles phpseclib version 2 ldap-account-manager includes phpseclib
UBUNTU-CVE-2023-27560
Ubuntu 25.10php-phpseclibWill not fix
php-phpseclib handles phpseclib version 2 ldap-account-manager includes phpseclib
UBUNTU-CVE-2023-27560
Ubuntu 25.10php-phpseclib3Will not fix
php-phpseclib handles phpseclib version 2 ldap-account-manager includes phpseclib
UBUNTU-CVE-2023-27560
Ubuntu 24.04ldap-account-managerUnder investigationUBUNTU-CVE-2023-27560
Ubuntu 24.04php-phpseclibFix pendingUBUNTU-CVE-2023-27560
Ubuntu 24.04php-phpseclib3Under investigationUBUNTU-CVE-2023-27560
Ubuntu 22.04ldap-account-managerUnder investigationUBUNTU-CVE-2023-27560
Ubuntu 22.04php-phpseclibFix pendingUBUNTU-CVE-2023-27560
Ubuntu 22.04php-phpseclib3Fix pendingUBUNTU-CVE-2023-27560
Ubuntu 20.04ldap-account-managerWill not fix
php-phpseclib handles phpseclib version 2 ldap-account-manager includes phpseclib
UBUNTU-CVE-2023-27560
Ubuntu 20.04php-phpseclibFix pendingUBUNTU-CVE-2023-27560
Ubuntu 18.04ldap-account-managerWill not fix
php-phpseclib handles phpseclib version 2 ldap-account-manager includes phpseclib
UBUNTU-CVE-2023-27560
Ubuntu 18.04php-phpseclibFix pendingUBUNTU-CVE-2023-27560
Ubuntu 16.04ldap-account-managerWill not fix
php-phpseclib handles phpseclib version 2 ldap-account-manager includes phpseclib
UBUNTU-CVE-2023-27560
Ubuntu 16.04php-phpseclibWill not fix
php-phpseclib handles phpseclib version 2 ldap-account-manager includes phpseclib
UBUNTU-CVE-2023-27560
Ubuntu 14.04ldap-account-managerWill not fix
php-phpseclib handles phpseclib version 2 ldap-account-manager includes phpseclib
Debian 14php-phpseclib3Fixed3.0.19-1DEBIAN-CVE-2023-27560
Debian 13php-phpseclib3Fixed3.0.19-1DEBIAN-CVE-2023-27560
Debian 12php-phpseclib3Fixed3.0.19-1DEBIAN-CVE-2023-27560
Packagist libraryphpseclib/phpseclibFixed3.0.19GHSA-hm7p-r324-hhf3

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.