CVE-2025-4059 Details
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.
A critical stack-based buffer overflow vulnerability has been identified in Code-Projects Prison Management System version 1.0. This issue arises in the 'addrecord' function of the 'Prison_Mgmt_Sys' component, where improper handling of the 'filename' argument allows for memory manipulation. The vulnerability requires local exploitation and could lead to a denial-of-service condition or arbitrary code execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code-projects.org/ | [email protected] | Product |
| https://github.com/zzzxc643/cve/blob/main/Prison_Mgmt_Sys.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.306496 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.306496 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.559359 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| code-projects prison management system | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 15, 2025 | Initial Analysis | [email protected] |
| Apr 29, 2025 | New CVE Received | [email protected] |