High severity · published Apr 29, 2025
CVE-2025-4059
code-projects Prison Management System Prison_Mgmt_Sys addrecord stack-based overflow
7.8
CVSS
0.4%
EPSS
No
On KEV
Description
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. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 31% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PM
Prison Management System · code-projects
1.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-4059
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-4059
Product
https://code-projects.org/
Exploit
https://github.com/zzzxc643/cve/blob/main/Prison_Mgmt_Sys.md
Permissions Required
https://vuldb.com/?ctiid.306496
Third Party Advisory
https://vuldb.com/?id.306496
Third Party Advisory
https://vuldb.com/?submit.559359
More from Prison Management System
9.8
CVE-2025-14590
code-projects Prison Management System search1.php sql injection
8.8
CVE-2025-14589
code-projects Prison Management System search.php sql injection
