Submit #577501: Buffer Overflow in Police Station Management System's remove() Function v1.0 Buffer Overflowinfo

TitleBuffer Overflow in Police Station Management System's remove() Function v1.0 Buffer Overflow
DescriptionThe 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)
Submission05/14/2025 14:17 (1 Year ago)
Moderation05/17/2025 08:33 (3 days later)
StatusAccepted
VulDB entry309445 [code-projects Police Station Management System 1.0 Delete Record source.cpp criminal::remove No stack-based overflow]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!