Read the docs
TI-2021-10678 Aliases CVE-2021-30130GHSA-vf4w-fg7r-5v94

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

Priority LOW 35CWE-347Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass, Spoofing
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-347 and CWE-295.

Summary

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

Why it matters now

EPSS 0.01055 64th percentileScored 2026-11-07
Fix Fixed phpseclib/phpseclib (Packagist): 3.0.7, 2.0.31

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—phpseclib/phpseclib (Packagist)3.0.0 to before 3.0.73.0.7Patch availableGHSA-vf4w-fg7r-5v94
—phpseclib/phpseclib (Packagist)before 2.0.312.0.31Patch availableGHSA-vf4w-fg7r-5v94
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • phpseclib/phpseclib (Packagist) Vendor— Affected 3.0.0 to before 3.0.7 Fixed in 3.0.7 Patch available GHSA-vf4w-fg7r-5v94
  • phpseclib/phpseclib (Packagist) Vendor— Affected before 2.0.31 Fixed in 2.0.31 Patch available GHSA-vf4w-fg7r-5v94

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*before 2.0.31; 3.0 to before 3.0.7Vulnerablephpseclib
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:* Versions before 2.0.31; 3.0 to before 3.0.7 Vulnerable ·phpseclib
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-vf4w-fg7r-5v94 phpseclib/phpseclib (Packagist) Fixed in 3.0.7 Advisory →
  • Fix · GHSA-vf4w-fg7r-5v94 phpseclib/phpseclib (Packagist) Fixed in 2.0.31 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-30130
  2. 2026-10-03 Alias added: GHSA-vf4w-fg7r-5v94

References

Sources