CISA list

● Composer package

phpseclib/phpseclib

Phpseclib/phpseclib has 12 security advisories. The newest release any of them names as the fix is 4.0.3.

As of , phpseclib/phpseclib has 12 security advisories. The newest release any of them names as the fix is 4.0.3.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 4.0.0 before 4.0.34.0.32 advisories
Before 3.0.583.0.5812 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
FriendsOfPHP 2026-11-02-1phpseclib unbounded PBKDF iteration count in encrypted key/PFX/CMS parsing enables CPU-exhaustion DoSFrom 4.0.0 before 4.0.3; From 3.0.0 before 3.0.58; From 2.0.0 before 2.0.56; From 1.0.0 before 1.0.311.0.31, 2.0.56, 3.0.58, 4.0.3
CVE-2026-84308GHSA-q97c-8qh3-fpc6phpseclib, non-constant-time X25519 scalar multiplication permits full private-key recoveryModerate severityFrom 4.0.0 before 4.0.1; Before 3.0.573.0.57, 4.0.1
CVE-2026-55599GHSA-m557-wrgg-6rp4phpseclib: X.509 certificate validation sends attacker-controlled outbound requests (server-side request forgery) via Authority Information AccessModerate severityFrom 3.0.0 before 3.0.54; From 2.0.0 before 2.0.55; From 0.1.1 before 1.0.301.0.30, 2.0.55, 3.0.54
CVE-2026-44167GHSA-3qpq-r242-jqj7phpseclib has a CVE-2024-27355 mitigation bypass, OID amplification DoS in ASN1::decodeOID()High severityFrom 3.0.0 before 3.0.52; From 2.0.0 before 2.0.54; From 0.1.1 before 1.0.291.0.29, 2.0.54, 3.0.52
CVE-2026-40194GHSA-r854-jrxh-36qxphpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals()Low severityFrom 3.0.0 before 3.0.51; From 2.0.0 before 2.0.53; From 0.1.1 before 1.0.281.0.28, 2.0.53, 3.0.51
CVE-2026-32935GHSA-94g3-g5v7-q4jgphpseclib's AES-CBC unpadding susceptible to padding oracle timing attackHigh severityFrom 3.0.0 before 3.0.50; From 2.0.0 before 2.0.52; From 0.1.1 before 1.0.271.0.27, 2.0.52, 3.0.50
CVE-2023-52892GHSA-ff7q-6vwh-v9m4Name confusion in x509 Subject Alternative Name fieldsHigh severityFrom 3.0.0 before 3.0.33; From 2.0.0 before 2.0.46; Before 1.0.221.0.22, 2.0.46, 3.0.33
CVE-2024-27354GHSA-2528-jw5q-ww88phpseclib: guardrails needed on isPrime and randomPrimeHigh severityFrom 3.0.0 before 3.0.36; From 2.0.0 before 2.0.47; From 0.1.1 before 1.0.231.0.23, 2.0.47, 3.0.36
CVE-2024-27355GHSA-f2qx-66wf-wvvxphpseclib guardrails needed on OID lengthHigh severityFrom 3.0.0 before 3.0.36; From 2.0.0 before 2.0.47; From 0.1.1 before 1.0.231.0.23, 2.0.47, 3.0.36
CVE-2023-49316GHSA-2f25-pfq3-c7h8Phpseclib needs guardrails on large binaryfield integersHigh severityFrom 3.0.0 before 3.0.343.0.34
CVE-2023-27560GHSA-hm7p-r324-hhf3phpseclib Infinite Loop vulnerabilityHigh severityFrom 3.0.0 before 3.0.193.0.19
CVE-2021-30130GHSA-vf4w-fg7r-5v94Improper Certificate Validation in phpseclibHigh severityFrom 3.0.0 before 3.0.7; Before 2.0.312.0.31, 3.0.7

Other Composer packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0