High
Security advisory
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-30130
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:45 UTC · Revision 1
Source evidence
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
osv:CVE-2021-30130
Complete source record
{
"id": "9144879a672f3b427ba29cfdfc234b553ae407e6c96b0dbb253b472186aa7e2a",
"url": "https://osv.dev/vulnerability/CVE-2021-30130",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-30130",
"summary": "phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.",
"evidence": "osv:CVE-2021-30130",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-30130",
"aliases": [
"CVE-2021-30130",
"GHSA-vf4w-fg7r-5v94"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/phpseclib/phpseclib",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "233a920cb38636a43b18d428f9a8db1f0a1a08f4"
},
{
"introduced": "fe62c85e0203503231d489af95d0ac053b7d3575"
},
{
"fixed": "d369510df0ebd5e1a5d0fe3d4d23c55fa87a403d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.31"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0"
},
{
"fixed": "3.0.7"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "233a920cb38636a43b18d428f9a8db1f0a1a08f4"
}
],
"source": "REFERENCES_TAG",
"original_tag": "2.0.31"
},
{
"range": [
{
"fixed": "d369510df0ebd5e1a5d0fe3d4d23c55fa87a403d"
}
],
"source": "REFERENCES_TAG",
"original_tag": "3.0.7"
}
]
}
}
],
"versions": [
"3.0.6",
"3.0.5",
"3.0.4",
"3.0.3",
"3.0.2",
"3.0.1",
"2.0.30",
"3.0.0",
"2.0.29",
"2.0.28",
"2.0.27",
"2.0.26",
"2.0.25",
"2.0.24",
"2.0.23",
"2.0.22",
"2.0.21",
"2.0.20",
"2.0.19",
"2.0.18",
"2.0.17",
"2.0.16",
"2.0.15",
"2.0.14",
"2.0.13",
"2.0.12",
"2.0.11",
"2.0.10",
"2.0.9",
"2.0.7",
"2.0.6",
"2.0.5",
"2.0.4",
"2.0.3",
"2.0.0",
"0.3.0",
"0.2.2",
"0.2.1",
"0.2.0",
"0.1.5",
"0.1.2",
"0.1.1",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30130.json"
}
}
],
"modified": "2026-10-20T10:54:40.184511316Z",
"provider": "osv",
"references": [
"https://github.com/phpseclib/phpseclib/releases/tag/2.0.31",
"https://github.com/phpseclib/phpseclib/releases/tag/3.0.7",
"https://lists.debian.org/debian-lts-announce/2022/11/msg00024.html",
"https://lists.debian.org/debian-lts-announce/2022/11/msg00025.html",
"https://github.com/phpseclib/phpseclib/pull/1635"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-30130",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385837,
"published_at": "2021-04-06T15:15:13.497+00:00"
}