Submit #566516: Department Store Management System stack overflow in bill function v1.0 Buffer Overflowinfo

TitleDepartment Store Management System stack overflow in bill function v1.0 Buffer Overflow
DescriptionThe `bill()` function contains a **buffer overflow vulnerability** due to unsafe usage of `scanf("%s", x)` with a fixed-size buffer `char x[4]`. This allows an attacker to overwrite adjacent memory, potentially leading to **arbitrary code execution (RCE)** or **denial-of-service (DoS)**.
Source⚠️ https://github.com/zzzxc643/cve/blob/main/Department_Store_Management_System.md
User
 zzzxc (UID 81185)
Submission04/28/2025 08:17 (1 Year ago)
Moderation05/08/2025 21:22 (11 days later)
StatusAccepted
VulDB entry308094 [code-projects Departmental Store Management System 1.0 bill Item Code stack-based overflow]
Points18

Might our Artificial Intelligence support you?

Check our Alexa App!