DHI-mno2-6wtc-5p5b-jig6

Source
https://scout.docker.com/v/DHI-mno2-6wtc-5p5b-jig6
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-mno2-6wtc-5p5b-jig6.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-mno2-6wtc-5p5b-jig6
Upstream
Published
2026-11-11T15:40:18Z
Modified
2026-11-20T17:00:51Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
phpseclib is a PHP secure communications library. Prior to 3.0.57 and 4.0.1, pure-PHP X25519 scalar multiplication in…
Details

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.

References

Affected packages

Docker Hardened Images:Debian:13 / nextcloud-34

Package

Name
nextcloud-34
Purl
pkg:deb/dhi/nextcloud-34

Affected ranges

Affected versions

34.*
34.0.4-0
34.0.5-0
34.0.5-1
34.0.5-2
34.0.5-3
34.0.6-0
34.0.6-1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-mno2-6wtc-5p5b-jig6.json"

Docker Hardened Images:Debian:13 / nextcloud-35

Package

Name
nextcloud-35
Purl
pkg:deb/dhi/nextcloud-35

Affected ranges

Affected versions

35.*
35.0.1-0
35.0.2-0
35.0.2-1
35.0.2-2
35.0.2-3
35.0.2-5
35.0.3-0
35.0.3-1

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-mno2-6wtc-5p5b-jig6.json"

Docker Hardened Images:Debian:13 / nextcloud

Package

Name
nextcloud
Purl
pkg:deb/dhi/nextcloud

Affected ranges

Affected versions

34.*
34.0.3-0
34.0.4-0
35.*
35.0.1-0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-mno2-6wtc-5p5b-jig6.json"