ADVISORIES

Ubuntu Security Notice

USN-8830-1

php-phpseclib vulnerabilities

Details

It was discovered that phpseclib did not perform constant-time padding validation when using AES in CBC mode. A remote attacker could possibly use this issue to obtain sensitive information. (CVE-2026-32935)

It was discovered that phpseclib did not use a constant-time comparison when validating SSH packet authentication codes. A remote attacker could possibly use this issue to obtain sensitive information. (CVE-2026-40194)

It was discovered that phpseclib did not properly limit object identifier lengths when parsing ASN.1 data. An attacker could possibly use this issue to cause phpseclib to use excessive resources, leading to a denial of service. (CVE-2026-44167)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSphp-phpseclib
All versions before 2.0.1-1ubuntu0.1~esm1 (fixed in 2.0.1-1ubuntu0.1~esm1)
Ubuntu:Pro:18.04:LTSphp-phpseclib
All versions before 2.0.9-1ubuntu0.1~esm3 (fixed in 2.0.9-1ubuntu0.1~esm3)
Ubuntu:Pro:20.04:LTSphp-phpseclib
All versions before 2.0.23-2ubuntu0.1~esm3 (fixed in 2.0.23-2ubuntu0.1~esm3)
Ubuntu:Pro:22.04:LTSphp-phpseclib
All versions before 2.0.36-1ubuntu0.1~esm3 (fixed in 2.0.36-1ubuntu0.1~esm3)
Ubuntu:Pro:24.04:LTSphp-phpseclib
All versions before 2.0.47-1ubuntu0.1~esm1 (fixed in 2.0.47-1ubuntu0.1~esm1)
Ubuntu:Pro:26.04:LTSphp-phpseclib
All versions before 2.0.51-1ubuntu0.1~esm1 (fixed in 2.0.51-1ubuntu0.1~esm1)

References