Stack-based Buffer Overflow in SourceCodester Computer Store System
CVE-2025-5297

4.8MEDIUM

Key Information:

Vendor
CVE Published:
28 May 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-5297?

A stack-based buffer overflow vulnerability has been identified in the SourceCodester Computer Store System version 1.0, specifically within the Add function of the main.c file. This vulnerability occurs due to improper handling of user inputs for the laptopcompany, RAM, and Processor parameters. An attacker could exploit this vulnerability locally, potentially gaining unauthorized access or control over the system. Security assessments indicate that the exploit has been disclosed publicly, increasing the risk of attacks against affected installations.

Affected Version(s)

Computer Store System 1.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
4.8
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

wanglun (VulDB User)
.
CVE-2025-5297 : Stack-based Buffer Overflow in SourceCodester Computer Store System