OpenGL – NVIDIA SSAO visible errors

I'm trying to add a sao effect to a visualization application, but the resulting image contains errors. I use code from https://github.com/nvpro-samples/gl_ssao.
Errors occur with rapidly changing illumination near the edges of the image. Enter the image description here

The only change to the code was to remove the basic shading and just pass "white" from the scene.frag shader to make the error clearer. I also added obj input to import the Sponzaszene. However, the error is also visible in the included example scene when the camera is moved close to the object.
In this implementation, it is only possible to display objects at a relative distance. As you move closer to objects, these errors appear.

What causes this error and is there to fix?