Fastening the walls of wells is one of the most important stages that determines the quality of well construction in general, and the quality of fastening depends on several factors, primarily on the quality of the cement mortar. In this regard, the presented article is devoted to the problem of the quality of cementing well walls and assessing the risks of emergency situations due to poor-quality cementing. The article provides a methodology for assessment of the cementation quality of well walls and risk. Based on the results of processing acoustic logging data, cementometry and frequencies and the corresponding consequences in the form of qualitative and quantitative estimates of cementation, << constant risk >> curves were constructed to determine the magnitude of the risk. Based on the data obtained, diagrams that made it possible to monitor the dynamics of risks over the past five years at the field under study, taken as an example were constructed. As a result of statistical analysis, the << probability-consequences >> relationship (curves of constant risk of poor-quality cementing) was established for the field under consideration at different times, and their analytical approximations were obtained. The marked curves, being boundary ones, divide the coordinate plane into areas of acceptable and unacceptable risk. The area located below the constant risk curve is the area of acceptable risk. The area located above this curve is the area of unacceptable risk. The relationships between the state of contact between the column and the cement stone were established, expressed in the words <high<double right angle bracket>, << good >>, << <low<double right angle bracket>, << unsatisfactory quality>>.