CVE-2026-55599

NameCVE-2026-55599
Descriptionphpseclib 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php-phpseclib (PTS)bullseye2.0.30-2+deb11u2vulnerable
bullseye (security)2.0.30-2+deb11u1vulnerable
bookworm2.0.42-1+deb12u5vulnerable
bookworm (security)2.0.42-1+deb12u3vulnerable
trixie2.0.48-3+deb13u3vulnerable
trixie (security)2.0.48-3+deb13u1vulnerable
forky, sid2.0.55-1fixed
php-phpseclib3 (PTS)bookworm3.0.19-1+deb12u6vulnerable
bookworm (security)3.0.19-1+deb12u4vulnerable
trixie3.0.43-2+deb13u3vulnerable
trixie (security)3.0.43-2+deb13u1vulnerable
forky, sid3.0.55-1fixed
phpseclib (PTS)bullseye1.0.19-3+deb11u2vulnerable
bullseye (security)1.0.19-3+deb11u3vulnerable
bookworm1.0.20-1+deb12u5vulnerable
bookworm (security)1.0.20-1+deb12u3vulnerable
trixie1.0.23-6+deb13u3vulnerable
trixie (security)1.0.23-6+deb13u1vulnerable
sid1.0.30-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php-phpseclibsource(unstable)2.0.55-1
php-phpseclib3source(unstable)3.0.55-1
phpseclibsource(unstable)1.0.30-1

Notes

https://github.com/phpseclib/phpseclib/security/advisories/GHSA-m557-wrgg-6rp4
Fixed by: https://github.com/phpseclib/phpseclib/commit/0987dd98832b20fcdc223148c35e22de0f521de9 (3.0.54, 2.0.55, 1.0.30)

Search for package or bug name: Reporting problems