# CVE-2024-12186: code-projects Hotel Management System Available Room hotelnew.c stack-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-12-04T23:31:06.740Z
- Modified: 2026-06-17T06:59:12.447Z
- Weaknesses: CWE-119, CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- code-projects Hotel Management System: 1.0
- code-projects hotel_management_system: 1.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/1zzan/cve/blob/main/STACK-OVERFLOW2.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.286907> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.286907> (permissions-required, signature)
- <https://vuldb.com/?submit.454846> (third-party-advisory)
- <https://code-projects.org/> (product)

## Sources

- CVE List: [CVE-2024-12186](https://www.cve.org/CVERecord?id=CVE-2024-12186), CVE Terms of Use, modified 2024-12-05
- NVD: [CVE-2024-12186](https://nvd.nist.gov/vuln/detail/CVE-2024-12186), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-12186 · Whole record: https://cve.day/CVE-2024-12186.json · Rebuilt by cve.day 2026-11-25T22:58:49.719Z
