CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-4059: code-projects Prison Management System Prison_Mgmt_Sys addrecord stack-based overflow

4.8 CVSS

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. In code-projects Prison Management System 1.0 wurde eine Schwachstelle entdeckt. Sie wurde als kritisch eingestuft. Das betrifft die Funktion addrecord der Komponente Prison_Mgmt_Sys. Durch die Manipulation des Arguments filename mit unbekannten Daten kann eine stack-based buffer overflow-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs hat dabei lokal zu erfolgen. Der Exploit steht zur öffentlichen Verfügung.

Classification

CVE ID: CVE-2025-4059

CVSS Base Severity: MEDIUM

CVSS Base Score: 4.8

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Problem Types

Stack-based Buffer Overflow Memory Corruption

Affected Products

Vendor: code-projects

Product: Prison Management System

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 2.17% (scored less or equal to compared to others)

EPSS Date: 2025-05-28 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-4059
https://vuldb.com/?id.306496
https://vuldb.com/?ctiid.306496
https://vuldb.com/?submit.559359
https://github.com/zzzxc643/cve/blob/main/Prison_Mgmt_Sys.md
https://code-projects.org/

Timeline