CVE Vulnerabilities

CVE-2023-27560

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Mar 03, 2023 | Modified: Mar 06, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

NameVendorStart VersionEnd Version
PhpseclibPhpseclib3.0.0 (including)3.0.19 (excluding)
Ldap-account-managerUbuntubionic*
Ldap-account-managerUbuntufocal*
Ldap-account-managerUbuntukinetic*
Ldap-account-managerUbuntulunar*
Ldap-account-managerUbuntumantic*
Ldap-account-managerUbuntuoracular*
Ldap-account-managerUbuntuplucky*
Ldap-account-managerUbuntutrusty*
Ldap-account-managerUbuntuxenial*
Php-phpseclibUbuntubionic*
Php-phpseclibUbuntufocal*
Php-phpseclibUbuntukinetic*
Php-phpseclibUbuntulunar*
Php-phpseclibUbuntumantic*
Php-phpseclibUbuntuoracular*
Php-phpseclibUbuntuplucky*
Php-phpseclibUbuntutrusty*
Php-phpseclibUbuntuxenial*
Php-phpseclib3Ubuntukinetic*
Php-phpseclib3Ubuntulunar*
Php-phpseclib3Ubuntumantic*
Php-phpseclib3Ubuntuoracular*
Php-phpseclib3Ubuntuplucky*
Php-phpseclib3Ubuntutrusty*
Php-phpseclib3Ubuntuxenial*

References