Advisory

GHSA-f2qx-66wf-wvvx

Also known as: CVE-2024-27355

Summary

phpseclib guardrails needed on OID length

Details

Impact
Any application using that loads untrusted ASN1 files (eg. X509 certificates, RSA PKCS8 private or public keys, etc).

Patches
https://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59

Workarounds
No.

Resources
https://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59
https://www.usenix.org/system/files/conference/usenixsecurity25/sec25cycle1-prepub-599-shi-bing.pdf

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-05-08 18:24 UTC
Modified
2026-05-08 18:41 UTC

Affected packages and fixes

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.0.47 (ecosystem)

Fixed versions

2.0.47

Fix

The export has no generic command for this ecosystem.

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.0.36 (ecosystem)

Fixed versions

3.0.36

Fix

The export has no generic command for this ecosystem.

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 0.1.1, fixed 1.0.23 (ecosystem)

Fixed versions

1.0.23

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences