ADVISORIES

Vulnerability

CVE-2024-27354

An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU consumption for an isPrime primality check). NOTE: this issue was introduced when attempting to fix CVE-2023-27560.

7 advisories report this vulnerability, across 3 ecosystems.

High severity All Debian 3Ubuntu 3Packagist 1

Advisories

  • DEBIAN-CVE-2024-27354

    An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU…

    CVE-2024-27354 Debian Updated 2 November 2026
  • DLA-3749-1

    phpseclib - security update

    CVE-2024-27354CVE-2024-27355 Debian Updated 20 November 2026
  • DLA-3750-1

    php-phpseclib - security update

    CVE-2024-27354CVE-2024-27355 Debian Updated 20 November 2026
  • GHSA-2528-jw5q-ww88

    phpseclib: guardrails needed on isPrime and randomPrime

    High CVE-2024-27354 Packagist Updated 6 May 2026
  • UBUNTU-CVE-2024-27354

    An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU…

    CVE-2024-27354 Ubuntu Updated 6 October 2026
  • USN-7404-1

    phpseclib vulnerabilities

    CVE-2021-30130CVE-2023-52892CVE-2024-27354CVE-2024-27355 Ubuntu Updated 25 June 2026
  • USN-8769-1

    phpseclib vulnerability

    CVE-2023-48795CVE-2023-52892CVE-2024-27354CVE-2024-27355 Ubuntu Updated 16 September 2026

References