Debian Package Tracker
Register | Log in
Subscribe

php-phpseclib3

implementations of an arbitrary-precision integer arithmetic library

Choose email to subscribe with

general
  • source: php-phpseclib3 (main)
  • version: 3.0.57-1
  • maintainer: Debian PHP PEAR Maintainers (archive) (DMD)
  • uploaders: David Prévot [DMD]
  • arch: all
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • oldstable: 3.0.19-1+deb12u6
  • old-sec: 3.0.19-1+deb12u4
  • stable: 3.0.43-2+deb13u3
  • stable-sec: 3.0.43-2+deb13u1
  • testing: 3.0.57-1
  • unstable: 3.0.57-1
versioned links
  • 3.0.19-1+deb12u4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 3.0.19-1+deb12u6: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 3.0.43-2+deb13u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 3.0.43-2+deb13u3: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 3.0.57-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • php-phpseclib3
action needed
2 security issues in trixie high

There are 2 open security issues in trixie.

1 important issue:
  • CVE-2026-84308: phpseclib is a PHP secure communications library. Prior to 3.0.57 and 4.0.1, pure-PHP X25519 scalar multiplication in phpseclib/Math/PrimeField/Integer.php performs data-dependent conditional modular reductions in add() and subtract(). During the Montgomery ladder in phpseclib/Crypt/EC/BaseCurves/Montgomery.php, the reduction behavior of each step depends on the secret scalar prefix, creating per-step timing and libgmp call-count observations that can reveal a reused 251-bit clamped private scalar. The phpseclib/Crypt/EC/Formats/Keys/MontgomeryPrivate.php derivation path invokes the pure-PHP multiplication without a native-engine check, while phpseclib/Crypt/EC/Formats/Keys/PKCS8.php reaches it when ext-sodium is unavailable. Exploitation requires a reused or long-lived X25519 private key, knowledge of the corresponding public key, execution of the pure-PHP path, and a local observer capable of resolving individual ladder steps or libgmp entry-point calls. Ephemeral X25519 keys, including phpseclib's normal SSH exchange path, are not affected. Recovery of the scalar permanently compromises operations that reuse that key. This issue is fixed in versions 3.0.57 and 4.0.1.
1 issue left for the package maintainer to handle:
  • CVE-2026-55599: (needs triaging) 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.

You can find information about how to handle this issue in the security team's documentation.

Created: 2026-06-23 Last update: 2026-09-02 22:01
2 security issues in bookworm high

There are 2 open security issues in bookworm.

1 important issue:
  • CVE-2026-84308: phpseclib is a PHP secure communications library. Prior to 3.0.57 and 4.0.1, pure-PHP X25519 scalar multiplication in phpseclib/Math/PrimeField/Integer.php performs data-dependent conditional modular reductions in add() and subtract(). During the Montgomery ladder in phpseclib/Crypt/EC/BaseCurves/Montgomery.php, the reduction behavior of each step depends on the secret scalar prefix, creating per-step timing and libgmp call-count observations that can reveal a reused 251-bit clamped private scalar. The phpseclib/Crypt/EC/Formats/Keys/MontgomeryPrivate.php derivation path invokes the pure-PHP multiplication without a native-engine check, while phpseclib/Crypt/EC/Formats/Keys/PKCS8.php reaches it when ext-sodium is unavailable. Exploitation requires a reused or long-lived X25519 private key, knowledge of the corresponding public key, execution of the pure-PHP path, and a local observer capable of resolving individual ladder steps or libgmp entry-point calls. Ephemeral X25519 keys, including phpseclib's normal SSH exchange path, are not affected. Recovery of the scalar permanently compromises operations that reuse that key. This issue is fixed in versions 3.0.57 and 4.0.1.
1 issue postponed or untriaged:
  • CVE-2026-55599: (postponed; to be fixed through a stable update) 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.
Created: 2026-09-02 Last update: 2026-09-02 22:01
debian/patches: 6 patches to forward upstream low

Among the 7 debian patches available in version 3.0.57-1 of the package, we noticed the following issues:

  • 6 patches where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2023-02-26 Last update: 2026-08-27 18:02
news
[rss feed]
  • [2026-08-31] php-phpseclib3 3.0.57-1 MIGRATED to testing (Debian testing watch)
  • [2026-08-27] Accepted php-phpseclib3 3.0.57-1 (source) into unstable (David Prévot)
  • [2026-08-07] php-phpseclib3 3.0.56-1 MIGRATED to testing (Debian testing watch)
  • [2026-08-04] Accepted php-phpseclib3 3.0.56-1 (source) into unstable (David Prévot)
  • [2026-06-18] php-phpseclib3 3.0.55-1 MIGRATED to testing (Debian testing watch)
  • [2026-06-15] Accepted php-phpseclib3 3.0.55-1 (source) into unstable (David Prévot)
  • [2026-06-13] php-phpseclib3 3.0.53-1 MIGRATED to testing (Debian testing watch)
  • [2026-06-11] Accepted php-phpseclib3 3.0.53-1 (source) into unstable (David Prévot)
  • [2026-05-28] php-phpseclib3 3.0.52-2 MIGRATED to testing (Debian testing watch)
  • [2026-05-11] php-phpseclib3 REMOVED from testing (Debian testing watch)
  • [2026-05-05] Accepted php-phpseclib3 3.0.52-2 (source) into unstable (David Prévot)
  • [2026-05-04] Accepted php-phpseclib3 3.0.19-1+deb12u6 (source) into oldstable-proposed-updates (Debian FTP Masters) (signed by: David Prévot)
  • [2026-05-04] Accepted php-phpseclib3 3.0.43-2+deb13u3 (source) into proposed-updates (Debian FTP Masters) (signed by: David Prévot)
  • [2026-05-02] php-phpseclib3 3.0.52-1 MIGRATED to testing (Debian testing watch)
  • [2026-04-28] Accepted php-phpseclib3 3.0.52-1 (source) into unstable (David Prévot)
  • [2026-04-15] php-phpseclib3 3.0.51-1 MIGRATED to testing (Debian testing watch)
  • [2026-04-12] Accepted php-phpseclib3 3.0.51-1 (source) into unstable (David Prévot)
  • [2026-04-02] Accepted php-phpseclib3 3.0.43-2+deb13u1 (source) into proposed-updates (Debian FTP Masters) (signed by: David Prévot)
  • [2026-04-02] Accepted php-phpseclib3 3.0.19-1+deb12u4 (source) into oldstable-proposed-updates (Debian FTP Masters) (signed by: David Prévot)
  • [2026-03-29] Accepted php-phpseclib3 3.0.19-1+deb12u4 (source) into oldstable-security (Debian FTP Masters) (signed by: David Prévot)
  • [2026-03-29] Accepted php-phpseclib3 3.0.43-2+deb13u1 (source) into stable-security (Debian FTP Masters) (signed by: David Prévot)
  • [2026-03-26] php-phpseclib3 3.0.50-1 MIGRATED to testing (Debian testing watch)
  • [2026-03-23] Accepted php-phpseclib3 3.0.50-1 (source) into unstable (David Prévot)
  • [2026-01-30] php-phpseclib3 3.0.49-1 MIGRATED to testing (Debian testing watch)
  • [2026-01-27] Accepted php-phpseclib3 3.0.49-1 (source) into unstable (David Prévot)
  • [2025-12-18] php-phpseclib3 3.0.48-1 MIGRATED to testing (Debian testing watch)
  • [2025-12-16] Accepted php-phpseclib3 3.0.48-1 (source) into unstable (David Prévot)
  • [2025-10-09] php-phpseclib3 3.0.47-1 MIGRATED to testing (Debian testing watch)
  • [2025-10-07] Accepted php-phpseclib3 3.0.47-1 (source) into unstable (David Prévot)
  • [2025-08-18] php-phpseclib3 3.0.46-2 MIGRATED to testing (Debian testing watch)
  • 1
  • 2
bugs [bug history graph]
  • all: 1
  • RC: 0
  • I&N: 1
  • M&W: 0
  • F&P: 0
  • patch: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 3.0.49-1ubuntu1
  • patches for 3.0.49-1ubuntu1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing