Skip to main content
VulnerabilityPublished

CVE-2024-27355: phpseclib/phpseclib · phpseclib guardrails needed on OID length

Affects phpseclib/phpseclibSource GCVE Database

0
Authoritative record:CVE-2024-27355· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 2.0.47 soon.

Data as of 27 Oct 2026, 00:07 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.0.47, 3.0.36, 1.0.23
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Mar 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade phpseclib/phpseclib to 2.0.47; phpseclib/phpseclib to 3.0.36; phpseclib/phpseclib to 1.0.23.

Affected software

ProductAffectedFixed in
Packagistphpseclib/phpseclibAffected
  • >=2.0.0 <2.0.47
Fixed in
  • 2.0.47
Packagistphpseclib/phpseclibAffected
  • >=3.0.0 <3.0.36
Fixed in
  • 3.0.36
Packagistphpseclib/phpseclibAffected
  • >=0.1.1 <1.0.23
Fixed in
  • 1.0.23

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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

References

Community reviews

Loading reviews…