Phpseclib needs guardrails on large binaryfield integers
Date: 2026-05
Affected: composer/phpseclib/phpseclib
Attack vector: dos
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2023-49316
CWE: CWE-400
CWE-834
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

### 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


Mitigations:

Architectural layers (MAESTRO):