/usr/lib/x86_64-linux-gnu/libstat.so.3 is in libterralib3 4.3.0+dfsg.2-4build2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/x86_64-linux-gnu/libstat.so.3.6.1
/usr/lib/x86_64-linux-gnu/libstat.so.3.6.1