cve.bz

CVE-2021-30130

7.5 highEPSS 1.1%Fix available

High (7.5). EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in phpseclib/phpseclib 2.0.31, 3.0.7.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-30130 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-30130?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-30130?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-30130 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
phpseclib:phpseclibbefore 2.0.31
phpseclib:phpseclibfrom 3.0 before 3.0.7
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vf4w-fg7r-5v94Packagistphpseclib/phpseclib>=3.0.0 <3.0.73.0.7
GHSA-vf4w-fg7r-5v94Packagistphpseclib/phpseclib<2.0.312.0.31

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10php-phpseclib2.0.30-2~deb10u1DLA-3198-1
Debian10phpseclib1.0.19-3~deb10u1DLA-3197-1
Debian12, 13phpseclib1.0.19-3DEBIAN-CVE-2021-30130
Debian12, 13, 14php-phpseclib2.0.30-2DEBIAN-CVE-2021-30130
Debian12, 13, 14php-phpseclib33.0.7-1DEBIAN-CVE-2021-30130
UbuntuPro:16.04:LTSphp-phpseclib2.0.1-1ubuntu0.1~esm2USN-7404-1
UbuntuPro:16.04:LTSphpseclib1.0.1-3ubuntu0.1+esm1USN-7404-1
UbuntuPro:18.04:LTSphp-phpseclib2.0.9-1ubuntu0.1~esm2USN-7404-1
UbuntuPro:18.04:LTSphpseclib1.0.9-1ubuntu0.1~esm1USN-7404-1
UbuntuPro:20.04:LTSphp-phpseclib2.0.23-2ubuntu0.1~esm2UBUNTU-CVE-2021-30130 USN-7404-1
UbuntuPro:20.04:LTSphpseclib1.0.18-2ubuntu0.1~esm1UBUNTU-CVE-2021-30130 USN-7404-1
UbuntuPro:22.04:LTSphp-phpseclib2.0.36-1ubuntu0.1~esm2USN-7404-1
UbuntuPro:22.04:LTSphp-phpseclib33.0.13-1ubuntu0.1~esm1USN-7404-1
UbuntuPro:22.04:LTSphpseclib1.0.20-1ubuntu0.1~esm1USN-7404-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON