CVEfocus › CVE database › CVE-2026-55599

CVE-2026-55599phpseclib: X.509 certificate validation sends attacker-controlled outbound requests…

CVSS 5.8 MediumEPSS 0.2% (higher than 7% of CVEs)Published 2026-06-22Updated 2026-06-23Assigner: GitHub_M

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.

CWE-918

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
13Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10phpseclibFix pendingUBUNTU-CVE-2026-55599
Ubuntu 26.04phpseclibFix pendingUBUNTU-CVE-2026-55599
Ubuntu 25.10phpseclibWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-55599
Ubuntu 24.04phpseclibFix pendingUBUNTU-CVE-2026-55599
Ubuntu 22.04phpseclibFix pendingUBUNTU-CVE-2026-55599
Ubuntu 20.04phpseclibFix pendingUBUNTU-CVE-2026-55599
Ubuntu 18.04phpseclibFix pendingUBUNTU-CVE-2026-55599
Ubuntu 16.04phpseclibFix pendingUBUNTU-CVE-2026-55599
Debian 14php-phpseclibFixed2.0.55-1DEBIAN-CVE-2026-55599
Debian 14php-phpseclib3Fixed3.0.55-1DEBIAN-CVE-2026-55599
Debian 13php-phpseclibFix pendingDEBIAN-CVE-2026-55599
Debian 13php-phpseclib3Fix pendingDEBIAN-CVE-2026-55599
Debian 13phpseclibFix pendingDEBIAN-CVE-2026-55599
Debian 12php-phpseclibFix pendingDEBIAN-CVE-2026-55599
Debian 12php-phpseclib3Fix pendingDEBIAN-CVE-2026-55599
Debian 12phpseclibFix pendingDEBIAN-CVE-2026-55599
Packagist libraryphpseclib/phpseclibFixed3.0.54GHSA-m557-wrgg-6rp4

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.