Security mailing lists by PureSourceCode

CVE-2021-30130

HIGH 7.5CVSS 3.1

Improper Certificate Validation in phpseclib

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

Published
6 Apr 2021
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-295CWE-347
Also known as
GHSA-vf4w-fg7r-5v94
Sources
NVDJSONOSV GHSA-vf4w-fg7r-5v94JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD phpseclib phpseclib
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*
< 2.0.31 2.0.31
NVD phpseclib phpseclib
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*
>= 3.0, < 3.0.7 3.0.7
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV Packagist phpseclib/phpseclib >= 3.0.0, < 3.0.7 3.0.7
OSV Packagist phpseclib/phpseclib < 2.0.31 2.0.31

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 6 Apr 2021)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 7 Apr 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.