{"id":"CVE-2024-12186","aliases":["EUVD-2024-50660","GHSA-5f45-h685-7ww2"],"status":"published","title":"code-projects Hotel Management System Available Room hotelnew.c stack-based overflow","description":"A vulnerability was found in code-projects Hotel Management System 1.0 and classified as problematic. This issue affects some unknown processing of the file hotelnew.c of the component Available Room Handler. The manipulation of the argument admin_entry leads to stack-based buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.","severity":{"version":"4.0","score":4.8,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00346,"percentile":0.28504,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119","CWE-121","CWE-787"],"published":"2024-12-04T23:31:06Z","modified":"2026-06-17T06:59:12Z","products":[{"vendor":"code-projects","product":"hotel management system"},{"vendor":"code-projects","product":"hotel_management_system"},{"vendor":"sourcecodester","product":"hotel management system"}],"references":[{"url":"https://vuldb.com/?id.286907","tags":["vdb-entry","technical-description","Third Party Advisory"]},{"url":"https://vuldb.com/?ctiid.286907","tags":["signature","permissions-required","Permissions Required"]},{"url":"https://vuldb.com/?submit.454846","tags":["third-party-advisory","Third Party Advisory"]},{"url":"https://github.com/1zzan/cve/blob/main/STACK-OVERFLOW2.md","tags":["exploit","Exploit","Third Party Advisory"]},{"url":"https://code-projects.org/","tags":["product","Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12186"},{"url":"https://code-projects.org"},{"url":"https://github.com/advisories/GHSA-5f45-h685-7ww2"}],"sources":{"cve":[{"id":"CVE-2024-12186","title":"code-projects Hotel Management System Available Room hotelnew.c stack-based overflow","description":"A vulnerability was found in code-projects Hotel Management System 1.0 and classified as problematic. This issue affects some unknown processing of the file hotelnew.c of the component Available Room Handler. The manipulation of the argument admin_entry leads to stack-based buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.","status":"published","published":"2024-12-04T23:31:06.74Z","modified":"2024-12-05T15:22:39.219Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium","assessor":"cna"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"},{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","assessor":"cna"}],"cwes":["CWE-121","CWE-119"],"updated_at":"2026-11-02T14:34:11.97482Z"}],"euvd":[{"id":"EUVD-2024-50660","description":"A vulnerability was found in code-projects Hotel Management System 1.0 and classified as problematic. This issue affects some unknown processing of the file hotelnew.c of the component Available Room Handler. The manipulation of the argument admin_entry leads to stack-based buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.","status":"published","published":"2024-12-04T23:31:06Z","modified":"2024-12-05T15:22:39Z","cvss":[{"version":"4.0","score":4.8,"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","level":"medium"}],"updated_at":"2026-11-03T00:04:40.064683Z"}],"ghsa":[{"id":"GHSA-5f45-h685-7ww2","title":"A vulnerability was found in code-projects Hotel Management System 1.0 and classified as...","description":"A vulnerability was found in code-projects Hotel Management System 1.0 and classified as problematic. This issue affects some unknown processing of the file hotelnew.c of the component Available Room Handler. The manipulation of the argument admin_entry leads to stack-based buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.","status":"published","published":"2024-12-05T00:34:59Z","modified":"2024-12-10T18:32:09Z","cvss":[{"version":"4.0","score":4.8,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-119","CWE-787"],"updated_at":"2026-11-02T14:59:06.994674Z"}],"nvd":[{"id":"CVE-2024-12186","description":"A vulnerability was found in code-projects Hotel Management System 1.0 and classified as problematic. This issue affects some unknown processing of the file hotelnew.c of the component Available Room Handler. The manipulation of the argument admin_entry leads to stack-based buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.","status":"published","published":"2024-12-05T00:15:18.887Z","modified":"2026-06-17T06:59:12.447Z","cvss":[{"version":"4.0","score":4.8,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"secondary"}],"cwes":["CWE-119","CWE-121","CWE-787"],"updated_at":"2026-11-02T14:10:38.973941Z"}]}}
