Submit #567111: ALBUM_MANAGEMENT_SYSTEM stack overflow in searchalbum function v1.0 Buffer Overflowinfo

TitleALBUM_MANAGEMENT_SYSTEM stack overflow in searchalbum function v1.0 Buffer Overflow
DescriptionThe `searchalbum()` function contains a **buffer overflow vulnerability** due to unsafe usage of `scanf("%s", year)` with a fixed-size buffer `char year[20]`. This allows an attacker to write beyond the allocated memory, potentially leading to **arbitrary code execution (RCE)** or **program crash (DoS)**.
Source⚠️ https://github.com/zzzxc643/cve/blob/main/ALBUM_MANAGEMENT_SYSTEM.md
User
 zzzxc (UID 81185)
Submission04/29/2025 07:26 AM (1 month ago)
Moderation05/09/2025 02:46 PM (10 days later)
StatusAccepted
VulDB Entry308217 [code-projects Album Management System 1.0 Search Albums searchalbum stack-based overflow]
Points18

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!