We consider the Cauchy problem for the Helmholtz equation defined in a rectangular domain. The Cauchy data are prescribed on a part of the boundary and the aim is to find the solution in the entire domain. The problem occurs in applications related to acoustics and is illposed in the sense of Hadamard. In our work we consider regularizing the problem by introducing a bounded approximation of the second derivative by using Cubic smoothing splines. We derive a bound for the approximate derivative and show how to obtain stability estimates for the method. Numerical tests show that the method works well and can produce accurate results. We also demonstrate that the method can be extended to more complicated domains.