A vulnerability classified as critical was found in code-projects Prison Management System 1.0. This vulnerability affects the function
addrecord
of the component Prison_Mgmt_Sys. The manipulation of the argument filename leads to stack-based buffer overflow.
This vulnerability was named CVE-2025-4059. An attack has to be approached locally. Furthermore, there is an exploit available.