Live threats

All CVEs / Phpseclib

CVE-2021-30130Phpseclib

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
No
Published
Apr 6, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.

Original NVD text.

What to do

  1. Apply the vendor's security update for Phpseclib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist phpseclib/phpseclib ≥ 3.0.0 < 3.0.7 3.0.7 composer require "phpseclib/phpseclib:^3.0.7"
Packagist phpseclib/phpseclib < 2.0.31 2.0.31 composer require "phpseclib/phpseclib:^2.0.31"

Per OSV / GitHub Advisories (GHSA-vf4w-fg7r-5v94). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
phpseclibphpseclib< 2.0.31
phpseclibphpseclib≥ 3.0 < 3.0.7
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.