Skip to main content
CVE-2025-5297VulnerabilityPublished

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

Affects SourceCodester Computer Store SystemSource CVE Database V5

0

Not known to be exploited · CVSS 4.8 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 May 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
GitHubbyxs0x0/cvepkg:github/byxs0x0/cveOther threatsAffected
  • =1.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Immediate mitigation should include restricting local access to the affected system to only trusted and necessary personnel, minimizing the attack surface. 2. Implement strict user privilege management to ensure users have only the minimum required permissions, reducing the risk of exploitation by low-privilege users. 3. Conduct a thorough code review and apply secure coding practices to the 'Add' function and related input handling routines to prevent buffer overflows. 4. Develop and deploy a patch that properly validates and bounds-checks input parameters for laptopcompany, RAM, and Processor fields before processing. 5. Employ runtime protections such as stack canaries, Address Space Layout Randomization (ASLR), and Data Execution Prevention (DEP) on the host systems to mitigate exploitation impact. 6. Monitor local system logs for unusual activity or crashes that could indicate attempted exploitation. 7. Consider network segmentation to isolate the computer store system from broader enterprise networks, limiting lateral movement in case of compromise. 8. Educate staff about the risks of local exploitation and enforce policies against unauthorized software or script execution on these systems.

Description

A vulnerability, which was classified as critical, has been found in SourceCodester Computer Store System 1.0. This issue affects the function Add of the file main.c. The manipulation of the argument laptopcompany/RAM/Processor leads to stack-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

References

Community reviews

Loading reviews…