| Title | Buffer Overflow in Police Station Management System's remove() Function v1.0 Buffer Overflow |
|---|
| Description | The Police Station Management System contains a critical stack-based buffer overflow vulnerability (CWE-121) in the `criminal::remove()` function. The vulnerability stems from the unsafe use of the `gets()` function to read convict ID input into a fixed-size buffer without proper bounds checking. This allows attackers to overwrite adjacent stack memory, potentially leading to arbitrary code execution or denial of service. |
|---|
| Source | ⚠️ https://github.com/zzzxc643/cve/blob/main/Police-StationManagementSystem2.md |
|---|
| User | zzzxc (UID 81185) |
|---|
| Submission | 05/14/2025 14:17 (1 Year ago) |
|---|
| Moderation | 05/17/2025 08:33 (3 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 309445 [code-projects Police Station Management System 1.0 Delete Record source.cpp criminal::remove No stack-based overflow] |
|---|
| Points | 20 |
|---|