This paper develops a Mamdani fuzzy logic system (FLS) that has stochastic fuzzy input variables designed to identify cash-flow deficits in bank lending policies. These deficits do not cover the available cash-flow (CFA) resulting from the company's operating activity. Thus, due to these deficits, solutions must be identified to avoid companies' financial difficulties. The novelty of this paper lies in its using stochastic fuzzy variables, or those categories of variables that are defined by fuzzy sets, characterized by normally distributed density functions specific to random variables, and characterized by fuzzy membership functions. The variation intervals of the stochastic fuzzy variables allow identification of the probabilistic risk situations to which the company is exposed during the crediting period using the Mamdani-type fuzzy logic system. The mechanism of implementing the fuzzy logic system is based on two stages. The first is based on the determination of the cash-flow requirements resulting from loan reimbursement and interest rates. This stage has the role of determining the need for financial resources to cover the liabilities. The second stage is based on the identification of the stochastic fuzzy variables which have a role in influencing the cash flow deficits and the probability values estimation of these variables taking into account probability calculations. Based on these probabilistic values, using the Mamdani fuzzy logic system, estimations are computed for the available cash-flow (the output variable). The estimated values for CFA are then used to detect probability risk situations in which the company will not have enough resources to cover its liabilities to financial creditors. All the FLS calculations refer to future time periods. Testing and simulating the fuzzy controller confirms its functionality.