Skip to content
OpenAdvisories
High · 7.5 CVE-2023-27560 EUVD-2023-1036GHSA-hm7p-r324-hhf3

phpseclib Infinite Loop vulnerability

Published Mar 3, 2023 · Updated Mar 6, 2025 · Assigned by mitre

Description

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 php-phpseclib3 3.0.19-1 —
Debian 13 php-phpseclib3 3.0.19-1 —
Debian 12 php-phpseclib3 3.0.19-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 php-phpseclib +1 No fix yet —
Ubuntu 26.04 LTS php-phpseclib3 +1 No fix yet —
Ubuntu 25.10 php-phpseclib +2 No fix yet —
Ubuntu 24.04 LTS php-phpseclib3 +1 No fix yet —
Ubuntu 22.04 LTS ldap-account-manager No fix yet —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ldap-account-manager No fix yet —
Ubuntu 18.04 LTS ldap-account-manager No fix yet —
Ubuntu 16.04 LTS ldap-account-manager No fix yet —
Ubuntu Pro 26.04 LTS php-phpseclib No fix yet —
Ubuntu Pro 24.04 LTS php-phpseclib No fix yet —
Ubuntu Pro 22.04 LTS php-phpseclib +1 No fix yet —
Ubuntu Pro 20.04 LTS php-phpseclib No fix yet —
Ubuntu Pro 18.04 LTS php-phpseclib No fix yet —
Ubuntu Pro 16.04 LTS php-phpseclib No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpseclib/phpseclib >= 3.0.0, < 3.0.19 3.0.19 GHSA-hm7p-r324-hhf3

References