CVE-2025-4059: A vulnerability classified as critical was found in code-projects Prison Management System 1.0
CVE-2025-4059 is a medium-severity flaw (CVSS 5.3) affecting prison management system. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-4059?
prison management system: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2025-4059 being exploited?
CVE-2025-4059 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-4059 affect?
CVE-2025-4059 affects prison management system. Severity is medium (CVSS 5.3). 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-bas
How urgent is CVE-2025-4059?
Priority 31/100. Public exploit reference
Related CVEs
- CVE-2025-14590 HIGH 7.3 DOWNGRADE A security vulnerability has been detected in code-projects Prison Management System 2.0
- CVE-2025-14589 MEDIUM 6.3 DOWNGRADE A weakness has been identified in code-projects Prison Management System 2.0
- CVE-2026-2177 HIGH 7.3 DOWNGRADE A vulnerability has been found in SourceCodester Prison Management System 1.0
- CVE-2024-7813 MEDIUM 5.3 DOWNGRADE A vulnerability, which was classified as problematic, has been found in SourceCodester Prison Management Syste
- CVE-2024-4645 LOW 3.5 DOWNGRADE A vulnerability was found in SourceCodester Prison Management System 1.0 and classified as problematic