CVE-2025-4059: code-projects Prison Management System Prison_Mgmt_Sys addrecord stack-based overflow
Published Apr 29, 2025
·Updated
A vulnerability classified as critical was found in code-projects Prison Management System 1.0. This vulnerability affects the function addrecord of the component PrisonMgmtSys. 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.
Affected Software
2 affected components
Code-projects Prison Management System
Code-projects Prison Management System=1.0
Event History
Apr 29, 2025
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeakness
Frequently Asked Questions
1
What is the severity of CVE-2025-4059?
CVE-2025-4059 is classified as a critical vulnerability.
2
What component is affected by CVE-2025-4059?
CVE-2025-4059 affects the addrecord function in the Prison_Mgmt_Sys component.
3
What type of vulnerability is CVE-2025-4059?
CVE-2025-4059 is a stack-based buffer overflow vulnerability.
4
How can the CVE-2025-4059 vulnerability be mitigated?
To mitigate CVE-2025-4059, validate and sanitize input arguments before processing.
5
What could be the consequences of exploiting CVE-2025-4059?
Exploiting CVE-2025-4059 could allow attackers to execute arbitrary code on the affected system.