GHSA-2f25-pfq3-c7h8

    Dashboard / Vulnerabilities / GHSA-2f25-pfq3-c7h8

    GHSA-2f25-pfq3-c7h8

    Published: 8 May 2026Last Modified: 8 May 2026

    Summary: Phpseclib needs guardrails on large binaryfield integers

    Details: ### Impact Anyone loading untrusted ASN1 files (eg. X509 certificates, RSA PKCS8 private or public keys, etc) ### Patches https://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f ### Workarounds No. ### References https://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f https://www.usenix.org/system/files/usenixsecurity25-shi-bing.pdf

    Affected packages

    Package

    Name: phpseclib/phpseclib

    Purl: pkg:composer/phpseclib/phpseclib

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.0.0
    Fixed -3.0.34

    Affected versions

    3.0.0
    3.0.1
    3.0.10
    3.0.11
    3.0.12
    3.0.13
    3.0.14
    3.0.15
    3.0.16
    3.0.17
    3.0.18
    3.0.19
    3.0.2
    3.0.20
    3.0.21
    3.0.22
    3.0.23
    3.0.3
    3.0.33
    3.0.4
    3.0.5
    3.0.6
    3.0.7
    3.0.8
    3.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