GHSA-hg35-mp25-qf6h

    Dashboard / Vulnerabilities / GHSA-hg35-mp25-qf6h

    GHSA-hg35-mp25-qf6h

    Published: 2 Mar 2024Last Modified: 10 Sept 2026

    Summary: Duplicate Advisory: phpseclib: guardrails needed on isPrime and randomPrime

    Details: ### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-2528-jw5q-ww88. This link is maintained to preserve external references. ### Original Description 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.

    Affected packages

    Package

    Name: phpseclib/phpseclib

    Purl: pkg:composer/phpseclib/phpseclib

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 1.0.0
    Fixed -1.0.23

    Affected versions

    1.0.0
    1.0.1
    1.0.10
    1.0.11
    1.0.12
    1.0.13
    1.0.14
    1.0.15
    1.0.16
    1.0.17
    1.0.18
    1.0.19
    1.0.2
    1.0.20
    1.0.21
    1.0.22
    1.0.3
    1.0.4
    1.0.5
    1.0.6
    1.0.7
    1.0.8
    1.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-hg35-mp25-qf6h | CVE-DB