{"id":"CVE-2025-4059","aliases":["CVE-2025-4059"],"related":[],"kind":"vulnerability","state":"published","title":"code-projects Prison Management System Prison_Mgmt_Sys addrecord stack-based overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad clasificada como crítica en code-projects Prison Management System 1.0. Esta vulnerabilidad afecta la función addrecord del componente Prison_Mgmt_Sys. La manipulación del argumento filename provoca un desbordamiento del búfer en la pila. Un ataque debe abordarse localmente. Se ha hecho público el exploit y puede que sea utilizado.","source":"nvd"}],"published":"2025-04-29T12:00:05.762Z","modified":"2026-06-17T09:32:24.560Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-119","CWE-121","CWE-787"],"affected":[{"ranges":[{"version":"1.0","status":"affected"}],"vendor":"code-projects","product":"Prison Management System","source":"cvelist"},{"ranges":[{"status":"affected","version":"1.0"}],"vendor":"code-projects","product":"prison_management_system","cpe":"cpe:2.3:a:code-projects:prison_management_system:1.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.306496","tags":["technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.306496","tags":["permissions-required","signature","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?submit.559359","tags":["third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zzzxc643/cve/blob/main/Prison_Mgmt_Sys.md","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://code-projects.org/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["zzzxc (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-29T13:24:13.046Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-4059","url":"https://www.cve.org/CVERecord?id=CVE-2025-4059","licence":"CVE Terms of Use","modified":"2025-04-29T13:25:00.482Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-4059","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4059","licence":"Public domain","modified":"2026-06-17T09:32:24.560Z"}],"updatedAt":"2026-11-25T22:58:57.078Z","epss":{"score":0.00381,"percentile":0.34217,"date":"2026-12-01T12:00:22.000Z"}}