Description
phpseclib is a PHP secure communications library. From 0.1.1 until 1.0.30, 2.0.55, and 3.0.54, when an application validates an untrusted X.509 certificate with phpseclib, X509::validateSignature() reads a URL out of that certificate's Authority Information Access (AIA) extension and connects to it. Attacker who supplies certificate fully controls host, port, and path of that connection. URL fetching is enabled by default, and no destination is blocked. An unauthenticated attacker can therefore make a validating server open connections to internal hosts and ports it should never reach, for example loopback 127.0.0.1, cloud metadata address 169.254.169.254, and internal-only services. This is a server-side request forgery (SSRF) caused by an insecure default. This vulnerability is fixed in 1.0.30, 2.0.55, and 3.0.54.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| phpseclib | phpseclib | >= 0.1.1, < 1.0.30, >= 2.0.0, < 2.0.55, >= 3.0.0, < 3.0.54 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | php-phpseclib | 2.0.55-1 | — |
| Debian 14 | php-phpseclib3 | 3.0.55-1 | — |
| Debian 13 | phpseclib +2 | No fix yet | — |
| Debian 12 | phpseclib +2 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | phpseclib | No fix yet | — |
| Ubuntu 25.10 | phpseclib | No fix yet | — |
| Ubuntu 22.04 LTS | phpseclib | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | phpseclib | No fix yet | — |
| Ubuntu Pro 24.04 LTS | phpseclib | No fix yet | — |
| Ubuntu Pro 20.04 LTS | phpseclib | No fix yet | — |
| Ubuntu Pro 18.04 LTS | phpseclib | No fix yet | — |
| Ubuntu Pro 16.04 LTS | phpseclib | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | nextcloud-server-33 | 33.0.5-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | phpseclib/phpseclib | >= 0.1.1, < 1.0.30 | 1.0.30 | GHSA-m557-wrgg-6rp4 |
| Packagist | phpseclib/phpseclib | >= 2.0.0, < 2.0.55 | 2.0.55 | GHSA-m557-wrgg-6rp4 |
| Packagist | phpseclib/phpseclib | >= 3.0.0, < 3.0.54 | 3.0.54 | GHSA-m557-wrgg-6rp4 |
Advisories 1
- WID-SEC-2026-4047 Snipe-IT: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 4, 2026