CVE-2025-4499 Details
Description
A vulnerability classified as critical was found in code-projects Simple Hospital Management System 1.0. Affected by this vulnerability is the function Add of the component Add Information. The manipulation of the argument x[i].name/x[i].disease leads to stack-based buffer overflow. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.
A critical stack-based buffer overflow vulnerability has been identified in the Simple Hospital Management System version 1.0. The issue arises in the Add Information component, specifically within the Add function. The vulnerability is caused by the unsafe use of the gets() function, which allows for unbounded input to overflow fixed-size character arrays. This exploitation can lead to memory corruption on the stack, potentially overwriting adjacent patient records, local variables, and even the function's return address. Such manipulation could be exploited to execute arbitrary code or cause a denial-of-service condition.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zzzxc643/cve/blob/main/Hospital%20Management%20System.md | CISA-ADP | ExploitThird Party Advisory |
| https://code-projects.org/ | [email protected] | Product |
| https://github.com/zzzxc643/cve/blob/main/Hospital%20Management%20System.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.308215 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.308215 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.567109 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fabian simple hospital management system | 1.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 23, 2025 | CPE Deprecation Remap | [email protected] |
| May 28, 2025 | Initial Analysis | [email protected] |
| May 12, 2025 | CVE Modified | CISA-ADP |
| May 10, 2025 | New CVE Received | [email protected] |